diff --git a/yobble.xcodeproj/xcuserdata/cheykrym.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/yobble.xcodeproj/xcuserdata/cheykrym.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..2e74ecd --- /dev/null +++ b/yobble.xcodeproj/xcuserdata/cheykrym.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + diff --git a/yobble/Views/Login/RegistrationView.swift b/yobble/Views/Login/RegistrationView.swift index 9eac315..46ffc44 100644 --- a/yobble/Views/Login/RegistrationView.swift +++ b/yobble/Views/Login/RegistrationView.swift @@ -16,7 +16,6 @@ struct RegistrationView: View { @State private var password: String = "" @State private var confirmPassword: String = "" @State private var inviteCode: String = "" - @AppStorage("isDarkMode") private var isDarkMode: Bool = true @State private var isLoading: Bool = false @State private var showError: Bool = false diff --git a/yobble/Views/Tab/Settings/SettingsView.swift b/yobble/Views/Tab/Settings/SettingsView.swift index 15a7c64..6aec0ee 100644 --- a/yobble/Views/Tab/Settings/SettingsView.swift +++ b/yobble/Views/Tab/Settings/SettingsView.swift @@ -3,7 +3,6 @@ import SwiftUI struct SettingsView: View { @ObservedObject var viewModel: LoginViewModel @EnvironmentObject private var themeManager: ThemeManager - @AppStorage("isDarkMode") private var isDarkMode: Bool = true @State private var isThemeExpanded = false private let themeOptions = ThemeOption.ordered @@ -159,7 +158,6 @@ struct SettingsView: View { private func selectTheme(_ option: ThemeOption) { guard let mappedTheme = option.mappedTheme else { return } themeManager.setTheme(mappedTheme) - isDarkMode = mappedTheme == .oledDark } }