Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
b271b398
Commit
b271b398
authored
Sep 03, 2020
by
Matthew Finkel
Browse files
Bug 40016: Don't onboard Search Suggestions
parent
5ea3fd8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
View file @
b271b398
...
...
@@ -274,6 +274,13 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
inflated
.
title
.
text
=
getString
(
R
.
string
.
search_suggestions_onboarding_title
)
// Hide Search Suggestions prompt and disable
inflated
.
visibility
=
View
.
GONE
requireContext
().
settings
().
also
{
it
.
shouldShowSearchSuggestionsInPrivate
=
false
it
.
showSearchSuggestionsInPrivateOnboardingFinished
=
true
}
}
view
.
search_suggestions_hint
.
setOnInflateListener
((
stubListener
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment