|
|
|
@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
|
import 'package:matrix/matrix.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:fluffychat/config/themes.dart';
|
|
|
|
|
import 'package:fluffychat/l10n/l10n.dart';
|
|
|
|
|
import 'package:fluffychat/widgets/adaptive_dialogs/show_ok_cancel_alert_dialog.dart';
|
|
|
|
|
import 'package:fluffychat/widgets/avatar.dart';
|
|
|
|
@ -161,6 +162,9 @@ class ClientChooserButton extends StatelessWidget {
|
|
|
|
|
borderRadius: BorderRadius.circular(99),
|
|
|
|
|
color: Colors.transparent,
|
|
|
|
|
child: PopupMenuButton<Object>(
|
|
|
|
|
popUpAnimationStyle: FluffyThemes.isColumnMode(context)
|
|
|
|
|
? AnimationStyle.noAnimation
|
|
|
|
|
: null, // https://github.com/flutter/flutter/issues/167180
|
|
|
|
|
onSelected: (o) => _clientSelected(o, context),
|
|
|
|
|
itemBuilder: _bundleMenuItems,
|
|
|
|
|
child: Center(
|
|
|
|
|