WIP
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user