Ensure a theme is selected on initial load
This commit is contained in:
parent
caf6adadf0
commit
4b3f9e969a
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@
|
|||
window.Events = {
|
||||
getDeviceName: () => textsecure.storage.user.getDeviceName(),
|
||||
|
||||
getThemeSetting: () => storage.get('theme-setting'),
|
||||
getThemeSetting: () => storage.get('theme-setting', 'light'),
|
||||
setThemeSetting: value => {
|
||||
storage.put('theme-setting', value);
|
||||
onChangeTheme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue