mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Fixed incorrect use of callback for control sticks window.
This commit is contained in:
parent
5fb3007a17
commit
6b381ff4e1
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue