Titlebar fixes

This commit is contained in:
Fedor Indutny 2022-07-05 09:44:53 -07:00 committed by GitHub
parent f273333046
commit f92be05b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 225 additions and 154 deletions

View file

@ -102,8 +102,7 @@ export type PropsType = {
value: CustomColorType;
}
) => unknown;
platform: string;
isWindows11: boolean;
hasCustomTitleBar: boolean;
executeMenuRole: ExecuteMenuRoleType;
// Limited support features
@ -230,7 +229,7 @@ export const Preferences = ({
isNotificationAttentionSupported,
isSyncSupported,
isSystemTraySupported,
isWindows11,
hasCustomTitleBar,
lastSyncTime,
makeSyncRequest,
notificationContent,
@ -258,7 +257,6 @@ export const Preferences = ({
onThemeChange,
onUniversalExpireTimerChange,
onZoomFactorChange,
platform,
removeCustomColor,
removeCustomColorOnConversations,
resetAllChatColors,
@ -1028,8 +1026,7 @@ export const Preferences = ({
return (
<TitleBarContainer
platform={platform}
isWindows11={isWindows11}
hasCustomTitleBar={hasCustomTitleBar}
theme={theme}
executeMenuRole={executeMenuRole}
>