|
|
|
@ -2,7 +2,9 @@ import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
|
import 'package:matrix/matrix.dart';
|
|
|
|
|
import 'package:url_launcher/url_launcher_string.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:fluffychat/config/app_config.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';
|
|
|
|
@ -67,7 +69,7 @@ class ClientChooserButton extends StatelessWidget {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (Matrix.of(context).backgroundPush?.firebaseEnabled == false)
|
|
|
|
|
if (Matrix.of(context).backgroundPush?.firebaseEnabled != true)
|
|
|
|
|
PopupMenuItem(
|
|
|
|
|
value: SettingsAction.support,
|
|
|
|
|
child: Row(
|
|
|
|
@ -219,7 +221,7 @@ class ClientChooserButton extends StatelessWidget {
|
|
|
|
|
FluffyShare.shareInviteLink(context);
|
|
|
|
|
break;
|
|
|
|
|
case SettingsAction.support:
|
|
|
|
|
// TODO: Implement me
|
|
|
|
|
launchUrlString(AppConfig.donationUrl);
|
|
|
|
|
break;
|
|
|
|
|
case SettingsAction.settings:
|
|
|
|
|
context.go('/rooms/settings');
|
|
|
|
|