IME // Disable dark mode conditioning in macOS 10.13 and earlier.
This commit is contained in:
parent
494bca4950
commit
ff7dbefa01
|
@ -111,6 +111,7 @@ public enum IME {
|
|||
// MARK: - System Dark Mode Status Detector.
|
||||
|
||||
static var isDarkMode: Bool {
|
||||
if #unavailable(macOS 10.14) { return false }
|
||||
if #available(macOS 10.15, *) {
|
||||
let appearanceDescription = NSApplication.shared.effectiveAppearance.debugDescription
|
||||
.lowercased()
|
||||
|
|
Loading…
Reference in New Issue