chore: Allow export of readonly sticker packs

pull/2379/head
Christian Kußowski 2 months ago
parent a8bcf12763
commit 205eb1bbc9
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

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

Loading…
Cancel
Save