mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Use "Dark"/"Light" instead of "Dark mode"/"Light mode" in preferences UI
This commit is contained in:
parent
b787e34012
commit
c339124703
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user