diff --git a/Mail/Views/Settings/SettingsView.swift b/Mail/Views/Settings/SettingsView.swift index 493235e38..777db2e9e 100644 --- a/Mail/Views/Settings/SettingsView.swift +++ b/Mail/Views/Settings/SettingsView.swift @@ -44,8 +44,6 @@ struct SettingsView: View { @AppStorage(UserDefaults.shared.key(.threadMode)) private var threadMode = DefaultPreferences.threadMode @AppStorage(UserDefaults.shared.key(.autoAdvance)) private var autoAdvance = DefaultPreferences.autoAdvance - @State private var isShowingSyncProfile = false - var body: some View { ScrollView { VStack(alignment: .leading, spacing: 0) { @@ -224,9 +222,6 @@ struct SettingsView: View { .onChange(of: threadMode) { _ in accountManager.updateConversationSettings() } - .sheet(isPresented: $isShowingSyncProfile) { - SyncProfileNavigationView() - } .background(MailResourcesAsset.backgroundColor.swiftUIColor) .navigationBarTitle(MailResourcesStrings.Localizable.settingsTitle, displayMode: .inline) .backButtonDisplayMode(.minimal) diff --git a/Mail/Views/SplitView.swift b/Mail/Views/SplitView.swift index a124775b1..c48300042 100644 --- a/Mail/Views/SplitView.swift +++ b/Mail/Views/SplitView.swift @@ -141,7 +141,7 @@ struct SplitView: View { openURL(settingsUrl) } } - .sheet(isPresented: $mainViewState.isShowingSyncProfile) { + .fullScreenCover(isPresented: $mainViewState.isShowingSyncProfile) { SyncProfileNavigationView() } .sheet(item: $mainViewState.settingsViewConfig,