From 12cc4f181282e071aab83bb995b7efb2f3a7e7f4 Mon Sep 17 00:00:00 2001 From: Tomas Strba Date: Fri, 8 Mar 2024 16:48:43 +0100 Subject: [PATCH] Set .defaultBrowser pane as initial --- DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift b/DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift index d9768cd448..97c5a06a42 100644 --- a/DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift +++ b/DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift @@ -27,7 +27,7 @@ final class PreferencesSidebarModel: ObservableObject { @Published private(set) var sections: [PreferencesSection] = [] @Published var selectedTabIndex: Int = 0 - @Published private(set) var selectedPane: PreferencePaneIdentifier = .general + @Published private(set) var selectedPane: PreferencePaneIdentifier = .defaultBrowser var selectedTabContent: AnyPublisher { $selectedTabIndex.map { [tabSwitcherTabs] in tabSwitcherTabs[$0] }.eraseToAnyPublisher()