mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Ensure a theme setting value is saved on first startup
This commit is contained in:
committed by
Josh Perez
parent
5447d0ad69
commit
a2a0d56270
@@ -1900,7 +1900,10 @@ export async function startApp(): Promise<void> {
|
||||
!hasThemeSetting &&
|
||||
window.textsecure.storage.get('userAgent') === 'OWI'
|
||||
) {
|
||||
window.storage.put('theme-setting', 'ios');
|
||||
window.storage.put(
|
||||
'theme-setting',
|
||||
await window.Events.getThemeSetting()
|
||||
);
|
||||
onChangeTheme();
|
||||
}
|
||||
const syncRequest = new window.textsecure.SyncRequest(
|
||||
|
||||
Reference in New Issue
Block a user