chore: Add support button everywhere

This commit is contained in:
Christian Kußowski 2026-03-12 17:34:59 +01:00
commit 6c05ed8aaa
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
27 changed files with 24 additions and 49 deletions

View file

@ -69,17 +69,6 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
if (Matrix.of(context).backgroundPush?.firebaseEnabled != true)
PopupMenuItem(
value: SettingsAction.support,
child: Row(
children: [
const Icon(Icons.favorite, color: Colors.red),
const SizedBox(width: 18),
Text(L10n.of(context).donate),
],
),
),
PopupMenuItem(
value: SettingsAction.settings,
child: Row(
@ -90,6 +79,16 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
PopupMenuItem(
value: SettingsAction.support,
child: Row(
children: [
Icon(Icons.volunteer_activism, color: Colors.red),
const SizedBox(width: 18),
Text(L10n.of(context).supportFluffyChat),
],
),
),
const PopupMenuDivider(),
for (final bundle in bundles) ...[
if (matrix.accountBundles[bundle]!.length != 1 ||