diff --git a/Xcodes/Backend/AppState.swift b/Xcodes/Backend/AppState.swift index c5641a6..a9483c9 100644 --- a/Xcodes/Backend/AppState.swift +++ b/Xcodes/Backend/AppState.swift @@ -112,7 +112,7 @@ class AppState: ObservableObject { validateSession() .catch { (error) -> AnyPublisher in guard - let username = savedUsername, + let username = self.savedUsername, let password = try? Current.keychain.getString(username) else { return Fail(error: error) diff --git a/Xcodes/Frontend/Preferences/GeneralPreferencePane.swift b/Xcodes/Frontend/Preferences/GeneralPreferencePane.swift index 8cd710b..19af99a 100644 --- a/Xcodes/Frontend/Preferences/GeneralPreferencePane.swift +++ b/Xcodes/Frontend/Preferences/GeneralPreferencePane.swift @@ -19,13 +19,6 @@ struct GeneralPreferencePane: View { } } .groupBoxStyle(PreferencesGroupBoxStyle()) - - Divider() - - GroupBox(label: Text("Notifications")) { - NotificationsView().environmentObject(appState) - } - .groupBoxStyle(PreferencesGroupBoxStyle()) } .frame(width: 400) }