This commit is contained in:
Trey t
2023-07-13 22:39:44 -05:00
parent 59dc0bbc4c
commit 93b8d674b4
13 changed files with 205 additions and 103 deletions

View File

@@ -12,7 +12,7 @@ struct AccountView: View {
@State var completedWorkouts: [CompletedWorkout]?
@ObservedObject var userStore = UserStore.shared
@State var showCompletedWorkouts: Bool = false
@AppStorage("showNSFWVideos") private var showNSFWVideos = false
@AppStorage("thotStyle") private var thotStyle: ThotStyle = .never
var body: some View {
VStack(alignment: .leading) {
@@ -62,7 +62,15 @@ struct AccountView: View {
}
}
Divider()
Toggle("Show NSFW Videos", isOn: $showNSFWVideos)
Picker("THOT Style:", selection: $thotStyle) {
ForEach(ThotStyle.allCases, id: \.self) { style in
Text(style.stringValue())
.tag(thotStyle.rawValue)
}
}
.pickerStyle(.segmented)
Spacer()
Button("Logout", action: {