Skip to content

Commit

Permalink
Merge pull request #6 from CardinalModules/cardinal-fix
Browse files Browse the repository at this point in the history
Update for Cardinal specific behaviour
  • Loading branch information
hemmer authored Mar 9, 2024
2 parents 2d06199 + f993ac4 commit 6f61018
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 6f61018

Please sign in to comment.