New sticker creator button

This commit is contained in:
Fedor Indutny 2023-02-27 14:34:43 -08:00 committed by GitHub
parent 85adb39d31
commit fad0529080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 442 additions and 11 deletions

View file

@ -38,6 +38,7 @@ export const createTemplate = (
showKeyboardShortcuts,
showSettings,
showStickerCreator,
openArtCreator,
} = options;
const template: MenuListType = [
@ -46,7 +47,7 @@ export const createTemplate = (
submenu: [
{
label: i18n('mainMenuCreateStickers'),
click: showStickerCreator,
click: isProduction ? showStickerCreator : openArtCreator,
},
{
label: i18n('mainMenuSettings'),