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:
parent
87352ad48b
commit
50b493a41c
@ -157,6 +157,7 @@ class SearchDialogController(
|
||||
SearchFragmentAction.AllowSearchSuggestionsInPrivateModePrompt(
|
||||
text.isNotEmpty() &&
|
||||
activity.browsingModeManager.mode.isPrivate &&
|
||||
settings.shouldShowSearchSuggestions &&
|
||||
!settings.shouldShowSearchSuggestionsInPrivate &&
|
||||
!settings.showSearchSuggestionsInPrivateOnboardingFinished,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user