Skip to main content

Blink/Views/SettingsView.swift

1//
2// SettingsView.swift
3// Blink
4//
5// Created by Alex Chan on 18/06/2023.
6//
8import SwiftUI
10struct SettingsView: View {
11 @AppStorage("colorScheme") private var colorScheme: String = "dark"
13 var body: some View {
14 Picker("Appearance", selection: $colorScheme) {
15 Text("Dark").tag("dark")
16 Text("Light").tag("light")
17 Text("Match system").tag("match_system")
18 }
19 .padding()
20 }
24struct SettingsView_Previews: PreviewProvider {
25 static var previews: some View {
26 SettingsView()
27 }