chore: Allow export of readonly sticker packs

This commit is contained in:
Christian Kußowski 2025-11-21 09:14:29 +01:00
commit 205eb1bbc9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -71,8 +71,8 @@ class EmotesSettingsView extends StatelessWidget {
break; break;
} }
}, },
enabled: !controller.readonly,
itemBuilder: (context) => [ itemBuilder: (context) => [
if (!controller.readonly)
PopupMenuItem( PopupMenuItem(
value: PopupMenuEmojiActions.import, value: PopupMenuEmojiActions.import,
child: Text(L10n.of(context).importFromZipFile), child: Text(L10n.of(context).importFromZipFile),