mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-02 07:15:21 +00:00
Never obscure OK button in Autofill onboarding UI (#729)
This commit is contained in:
@@ -133,7 +133,7 @@ class PasswordStore : AppCompatActivity() {
|
|||||||
@SuppressLint("InflateParams")
|
@SuppressLint("InflateParams")
|
||||||
val layout =
|
val layout =
|
||||||
layoutInflater.inflate(R.layout.oreo_autofill_instructions, null)
|
layoutInflater.inflate(R.layout.oreo_autofill_instructions, null)
|
||||||
layout.findViewById<AppCompatTextView>(R.id.intro_text).visibility = View.GONE
|
layout.findViewById<AppCompatTextView>(R.id.intro_text).setText(R.string.autofill_onboarding_dialog_message)
|
||||||
val supportedBrowsersTextView =
|
val supportedBrowsersTextView =
|
||||||
layout.findViewById<AppCompatTextView>(R.id.supportedBrowsers)
|
layout.findViewById<AppCompatTextView>(R.id.supportedBrowsers)
|
||||||
supportedBrowsersTextView.text =
|
supportedBrowsersTextView.text =
|
||||||
@@ -152,7 +152,6 @@ class PasswordStore : AppCompatActivity() {
|
|||||||
}
|
}
|
||||||
setView(layout)
|
setView(layout)
|
||||||
setTitle(getString(R.string.autofill_onboarding_dialog_title))
|
setTitle(getString(R.string.autofill_onboarding_dialog_title))
|
||||||
setMessage(getString(R.string.autofill_onboarding_dialog_message))
|
|
||||||
setPositiveButton(R.string.dialog_ok) { _, _ ->
|
setPositiveButton(R.string.dialog_ok) { _, _ ->
|
||||||
settings.edit { putBoolean("seen_autofill_onboarding", true) }
|
settings.edit { putBoolean("seen_autofill_onboarding", true) }
|
||||||
startActivity(Intent(Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE).apply {
|
startActivity(Intent(Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE).apply {
|
||||||
|
Reference in New Issue
Block a user