2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

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

This commit is contained in:
iorgamgabriel 2023-08-14 15:40:28 +03:00 committed by mergify[bot]
parent 87352ad48b
commit 50b493a41c

View File

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