Ensure a theme setting value is saved on first startup
This commit is contained in:
parent
5447d0ad69
commit
a2a0d56270
1 changed files with 4 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue