Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 6618716

Browse files
authored
Default to expanded favorites NTP section if setting is not present (#3858)
Task/Issue URL: https://app.asana.com/0/1201048563534612/1209373805889971 Description: This change ensures that if a user never updated NTP favorites expanded state setting, they will see expanded favorites on NTP.
1 parent 780b6f5 commit 6618716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DuckDuckGo/NewTabPage/NewTabPageActionsManagerExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension NewTabPageActionsManager {
3838
let favoritesModel = NewTabPageFavoritesModel(
3939
actionsHandler: DefaultFavoritesActionsHandler(),
4040
favoritesPublisher: favoritesPublisher,
41-
getLegacyIsViewExpandedSetting: UserDefaultsWrapper<Bool>(key: .homePageShowAllFavorites, defaultValue: false).wrappedValue
41+
getLegacyIsViewExpandedSetting: UserDefaultsWrapper<Bool>(key: .homePageShowAllFavorites, defaultValue: true).wrappedValue
4242
)
4343

4444
let customizationProvider = NewTabPageCustomizationProvider(homePageSettingsModel: settingsModel)

0 commit comments

Comments
 (0)