Page MenuHomeMusing Studio

No OneTemporary

diff --git a/Shared/Preferences/PreferencesView.swift b/Shared/Preferences/PreferencesView.swift
index e45ff17..26168e3 100644
--- a/Shared/Preferences/PreferencesView.swift
+++ b/Shared/Preferences/PreferencesView.swift
@@ -1,28 +1,28 @@
import SwiftUI
struct PreferencesView: View {
@ObservedObject var preferences: PreferencesModel
var body: some 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
}
}
struct SwiftUIView_Previews: PreviewProvider {
static var previews: some View {
PreferencesView(preferences: PreferencesModel())
}
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, May 16, 12:52 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240126

Event Timeline