From a053de635ed8ef7aeb9706a5de4b0edc3e02d70c Mon Sep 17 00:00:00 2001 From: David Erceg Date: Tue, 17 Sep 2024 12:34:23 +1000 Subject: [PATCH] Disable OpenNcThemeData detour on ARM64 This is a potential fix for #478. --- Explorer++/Explorer++/DarkModeHelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Explorer++/Explorer++/DarkModeHelper.cpp b/Explorer++/Explorer++/DarkModeHelper.cpp index fde781b93..07406eccf 100644 --- a/Explorer++/Explorer++/DarkModeHelper.cpp +++ b/Explorer++/Explorer++/DarkModeHelper.cpp @@ -112,6 +112,7 @@ void DarkModeHelper::EnableForApp(bool enable) FlushMenuThemes(); RefreshImmersiveColorPolicyState(); +#if !defined(BUILD_ARM64) LONG res; if (enable) @@ -124,6 +125,7 @@ void DarkModeHelper::EnableForApp(bool enable) } DCHECK_EQ(res, NO_ERROR); +#endif m_darkModeEnabled = enable;