mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Apply iOS theme after link
This commit is contained in:
@@ -373,6 +373,7 @@
|
||||
if (firstRun === true && deviceId != '1') {
|
||||
if (!storage.get('theme-setting') && textsecure.storage.get('userAgent') === 'OWI') {
|
||||
storage.put('theme-setting', 'ios');
|
||||
onChangeTheme();
|
||||
}
|
||||
var syncRequest = new textsecure.SyncRequest(textsecure.messaging, messageReceiver);
|
||||
Whisper.events.trigger('contactsync:begin');
|
||||
@@ -394,6 +395,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
function onChangeTheme() {
|
||||
var view = window.owsDesktopApp.appView;
|
||||
if (view) {
|
||||
view.applyTheme();
|
||||
}
|
||||
}
|
||||
function onEmpty() {
|
||||
initialLoadComplete = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user