Skip to content

Commit

Permalink
Update for Cardinal specific behaviour
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Mar 9, 2024
1 parent 2d06199 commit f993ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ template <class M>
void updateComponentsForTheme(M* module, RebelTechModuleWidget* moduleWidget, ModuleTheme& lastPanelTheme) {

#ifdef USING_CARDINAL_NOT_RACK
ModuleTheme currentTheme = settings::darkMode ? DARK_THEME : LIGHT_THEME;
ModuleTheme currentTheme = settings::preferDarkPanels ? DARK_THEME : LIGHT_THEME;
#else
ModuleTheme currentTheme = module ? module->theme : loadDefaultTheme();
#endif
Expand Down

0 comments on commit f993ac4

Please sign in to comment.