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
Matthew Finkel
fenix
Commits
b770a388
Commit
b770a388
authored
Sep 03, 2020
by
Matthew Finkel
Browse files
Bug 40016: Don't onboard Search Suggestions
parent
2bb08649
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
View file @
b770a388
...
@@ -274,6 +274,13 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
...
@@ -274,6 +274,13 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
inflated
.
title
.
text
=
inflated
.
title
.
text
=
getString
(
R
.
string
.
search_suggestions_onboarding_title
)
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
))
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