Skip to content

Commit

Permalink
Set .defaultBrowser pane as initial
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstrba committed Mar 8, 2024
1 parent ff0defc commit 12cc4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Preferences/Model/PreferencesSidebarModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<Tab.TabContent, Never> {
$selectedTabIndex.map { [tabSwitcherTabs] in tabSwitcherTabs[$0] }.eraseToAnyPublisher()
Expand Down

0 comments on commit 12cc4f1

Please sign in to comment.