This commit is contained in:
Trey t
2023-07-03 20:18:08 -05:00
parent 5c66ceff9f
commit 85dfc0a931
8 changed files with 190 additions and 80 deletions

View File

@@ -12,6 +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
var body: some View {
VStack(alignment: .leading) {
@@ -60,6 +61,8 @@ struct AccountView: View {
}
}
Divider()
Toggle("Show NSFW Videos", isOn: $showNSFWVideos)
Spacer()
Button("Logout", action: {