Skip to content

Commit

Permalink
Disable OpenNcThemeData detour on ARM64
Browse files Browse the repository at this point in the history
This is a potential fix for #478.
  • Loading branch information
derceg committed Sep 17, 2024
1 parent a9ddb02 commit a053de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Explorer++/Explorer++/DarkModeHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ void DarkModeHelper::EnableForApp(bool enable)
FlushMenuThemes();
RefreshImmersiveColorPolicyState();

#if !defined(BUILD_ARM64)
LONG res;

if (enable)
Expand All @@ -124,6 +125,7 @@ void DarkModeHelper::EnableForApp(bool enable)
}

DCHECK_EQ(res, NO_ERROR);
#endif

m_darkModeEnabled = enable;

Expand Down

0 comments on commit a053de6

Please sign in to comment.