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

Fixed incorrect use of callback for control sticks window.
10.8-maintenance
J Blackman 2021-07-06 18:17:10 +10:00 committed by GitHub
commit 5ed5d04831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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