format style

This commit is contained in:
2025-12-01 16:47:16 -08:00
parent 1892075d82
commit 4d84b352eb
2 changed files with 61 additions and 65 deletions

View File

@@ -1074,11 +1074,10 @@ ApplyThemeByName(const std::string &name)
} else if (n == "eink-dark") {
SetBackgroundMode(BackgroundMode::Dark);
n = "eink";
} else
if (n == "eink-light") {
SetBackgroundMode(BackgroundMode::Light);
n = "eink";
}
} else if (n == "eink-light") {
SetBackgroundMode(BackgroundMode::Light);
n = "eink";
}
// plan9 is a single theme; no light/dark aliases
const auto &reg = ThemeRegistry();