From 46ad03e5c76de4a2b3e1a81d0a8c5bf6eac12320 Mon Sep 17 00:00:00 2001 From: Tomas Strba Date: Mon, 18 Mar 2024 11:46:33 +0100 Subject: [PATCH] Done button removed from individual settings views --- DuckDuckGo/SettingsRootView.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/DuckDuckGo/SettingsRootView.swift b/DuckDuckGo/SettingsRootView.swift index 34d95d5c6c..fc2d5f57c3 100644 --- a/DuckDuckGo/SettingsRootView.swift +++ b/DuckDuckGo/SettingsRootView.swift @@ -161,9 +161,6 @@ struct SettingsListModifiers: ViewModifier { func body(content: Content) -> some View { content .navigationBarTitle(title, displayMode: displayMode) - .navigationBarItems(trailing: Button(UserText.navigationTitleDone) { - viewModel.onRequestDismissSettings?() - }) .accentColor(Color(designSystemColor: .textPrimary)) .environmentObject(viewModel) .conditionalInsetGroupedListStyle()