Commit b770a388 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 40016: Don't onboard Search Suggestions

parent 2bb08649
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment