mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Clean up window setup code
This commit is contained in:
@@ -41,7 +41,7 @@ static void detectSystemTheme() {
|
||||
}
|
||||
});
|
||||
|
||||
EventWindowInitialized::subscribe([=] {
|
||||
EventImHexStartupFinished::subscribe([=] {
|
||||
bool themeFollowSystem = ContentRegistry::Settings::read<std::string>("hex.builtin.setting.interface", "hex.builtin.setting.interface.color", ThemeManager::NativeTheme) == ThemeManager::NativeTheme;
|
||||
|
||||
if (themeFollowSystem)
|
||||
|
||||
Reference in New Issue
Block a user