Dark theme loading screen

This commit is contained in:
Fedor Indutny 2022-05-11 15:58:14 -07:00 committed by GitHub
parent af2c884c9f
commit b30c7f9c46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 114 additions and 18 deletions

View file

@ -17,6 +17,7 @@ import type {
const EPHEMERAL_NAME_MAP = new Map([
['spellCheck', 'spell-check'],
['systemTraySetting', 'system-tray-setting'],
['themeSetting', 'theme-setting'],
]);
type ResponseQueueEntry = Readonly<{
@ -68,7 +69,9 @@ export class SettingsChannel {
this.installSetting('readReceiptSetting', { setter: false });
this.installSetting('typingIndicatorSetting', { setter: false });
this.installSetting('themeSetting');
this.installSetting('themeSetting', {
isEphemeral: true,
});
this.installSetting('hideMenuBar');
this.installSetting('systemTraySetting', {
isEphemeral: true,