Auto merged - #2523 at Tue, 06 Jul 2021 08:17:09 GMT

Fixed incorrect use of callback for control sticks window.
10.7-maintenance
J Blackman 2021-07-06 18:17:10 +10:00 committed by Michael Keller
parent 999290d452
commit bef07bff87
1 changed files with 3 additions and 1 deletions

View File

@ -324,7 +324,9 @@ TABS.receiver.initialize = function (callback) {
}
}
windowWatcherUtil.passValue(createdWindow, 'darkTheme', DarkTheme.isDarkThemeEnabled(DarkTheme.configEnabled));
DarkTheme.isDarkThemeEnabled(function(isEnabled) {
windowWatcherUtil.passValue(createdWindow, 'darkTheme', isEnabled);
});
});
});