Don't show pure-black dark mode preference on Mac
This commit is contained in:
parent
04ca932a01
commit
65ea72c07f
|
@ -61,8 +61,11 @@ struct AppearancePrefsView : View {
|
||||||
Text("Dark").tag(UIUserInterfaceStyle.dark)
|
Text("Dark").tag(UIUserInterfaceStyle.dark)
|
||||||
}
|
}
|
||||||
|
|
||||||
Toggle(isOn: $preferences.pureBlackDarkMode) {
|
// macOS system dark mode isn't pure black, so this isn't necessary
|
||||||
Text("Pure Black Dark Mode")
|
if !ProcessInfo.processInfo.isMacCatalystApp && !ProcessInfo.processInfo.isiOSAppOnMac {
|
||||||
|
Toggle(isOn: $preferences.pureBlackDarkMode) {
|
||||||
|
Text("Pure Black Dark Mode")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Picker(selection: $preferences.accentColor, label: Text("Accent Color")) {
|
Picker(selection: $preferences.accentColor, label: Text("Accent Color")) {
|
||||||
|
|
Loading…
Reference in New Issue