Skip to content

Commit c711543

Browse files
committed
fix: default section
Signed-off-by: Lessica <[email protected]>
1 parent e7e3c9a commit c711543

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TrollFools/AppListModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final class AppListModel: ObservableObject {
5050
var isSelectorMode: Bool { selectorURL != nil }
5151

5252
@Published var filter = FilterOptions()
53-
@Published var activeScope: Scope = .user
53+
@Published var activeScope: Scope = .all
5454
@Published var activeScopeApps: OrderedDictionary<String, [App]> = [:]
5555

5656
@Published var isPaidProductInstalled: Bool = false

TrollFools/AppListView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct AppListView: View {
176176
appList.filter.searchKeyword = $0
177177
}
178178
.onReceive(searchViewModel.$searchScopeIndex) {
179-
appList.activeScope = Scope(rawValue: $0) ?? .user
179+
appList.activeScope = Scope(rawValue: $0) ?? .all
180180
}
181181
.introspect(.viewController, on: .iOS(.v14, .v15, .v16, .v17)) { viewController in
182182
if searchViewModel.searchController == nil {

0 commit comments

Comments
 (0)