diff --git a/src/libs/vmisc/theme/macutils.mm b/src/libs/vmisc/theme/macutils.mm index fca7bc3de..f8a28f001 100644 --- a/src/libs/vmisc/theme/macutils.mm +++ b/src/libs/vmisc/theme/macutils.mm @@ -32,7 +32,14 @@ //--------------------------------------------------------------------------------------------------------------------- bool NSNativeMacDarkThemeAvailable() { - return __builtin_available(macOS 10.14, *); + if (__builtin_available(macOS 10.14, *)) + { + return true; + } + else + { + return false; + } } //---------------------------------------------------------------------------------------------------------------------