chore: Allow export of readonly sticker packs
This commit is contained in:
parent
a8bcf12763
commit
205eb1bbc9
1 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Reference in a new issue