Bug 1845020 - The hint for search suggestions in private mode should be disabled if search suggestions in normal browsing are disabled.

(cherry picked from commit 5fe2dc79dd4bd338ee93aee776f6ac4de2fb11b2)
fenix/118.2.0
iorgamgabriel 9 months ago committed by Mergify
parent 17e5d208b3
commit 21b7acdefe

@ -167,6 +167,7 @@ class SearchDialogController(
SearchFragmentAction.AllowSearchSuggestionsInPrivateModePrompt(
text.isNotEmpty() &&
activity.browsingModeManager.mode.isPrivate &&
settings.shouldShowSearchSuggestions &&
!settings.shouldShowSearchSuggestionsInPrivate &&
!settings.showSearchSuggestionsInPrivateOnboardingFinished,
),

Loading…
Cancel
Save