Use "Dark"/"Light" instead of "Dark mode"/"Light mode" in preferences UI

This commit is contained in:
Angelo Stavrow 2020-08-11 14:33:35 -04:00
parent b787e34012
commit c339124703
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -7,15 +7,15 @@ struct PreferencesView: View {
#if os(iOS)
Picker(selection: $preferences.appearance, label: Text("Appearance")) {
Text("System").tag(0)
Text("Light Mode").tag(1)
Text("Dark Mode").tag(2)
Text("Light").tag(1)
Text("Dark").tag(2)
}
.pickerStyle(SegmentedPickerStyle())
#elseif os(macOS)
Picker(selection: $preferences.appearance, label: Text("Appearance")) {
Text("System").tag(0)
Text("Light Mode").tag(1)
Text("Dark Mode").tag(2)
Text("Light").tag(1)
Text("Dark").tag(2)
}
#endif
}