Remove Sticker Creator in favor of Web App

This commit is contained in:
Fedor Indutny 2023-03-15 17:59:30 -07:00 committed by GitHub
parent 78f0626e68
commit f84b6a31dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
117 changed files with 67 additions and 5269 deletions

View file

@ -34,9 +34,6 @@ export type PropsType = Readonly<{
executeMenuRole: ExecuteMenuRoleType;
titleBarDoubleClick?: () => void;
children: ReactNode;
// Needs to be overridden in sticker-creator
iconSrc?: string;
}> &
(MenuPropsType | { hasMenu?: false });
@ -132,7 +129,6 @@ export function TitleBarContainer(props: PropsType): JSX.Element {
titleBarDoubleClick,
children,
hasMenu,
iconSrc = 'images/icon_32.png',
} = props;
const isWindowActive = useIsWindowActive();
@ -238,7 +234,6 @@ export function TitleBarContainer(props: PropsType): JSX.Element {
showDebugLog: () => executeMenuAction('showDebugLog'),
showKeyboardShortcuts: () => executeMenuAction('showKeyboardShortcuts'),
showSettings: () => executeMenuAction('showSettings'),
showStickerCreator: () => executeMenuAction('showStickerCreator'),
showWindow: () => executeMenuAction('showWindow'),
},
i18n
@ -261,7 +256,7 @@ export function TitleBarContainer(props: PropsType): JSX.Element {
<TitleBar
className="TitleBarContainer__title"
platform="win32"
iconSrc={iconSrc}
iconSrc="images/icon_32.png"
theme={titleBarTheme}
maximized={isMaximized}
menu={maybeMenu}