From c302d6fe580a1a12dfe63560e8218f5add65bde8 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Tue, 21 Apr 2020 21:38:02 +0200 Subject: Never obscure OK button in Autofill onboarding UI (#729) --- app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt index 17e2464e..da1e72a1 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt @@ -133,7 +133,7 @@ class PasswordStore : AppCompatActivity() { @SuppressLint("InflateParams") val layout = layoutInflater.inflate(R.layout.oreo_autofill_instructions, null) - layout.findViewById(R.id.intro_text).visibility = View.GONE + layout.findViewById(R.id.intro_text).setText(R.string.autofill_onboarding_dialog_message) val supportedBrowsersTextView = layout.findViewById(R.id.supportedBrowsers) supportedBrowsersTextView.text = @@ -152,7 +152,6 @@ class PasswordStore : AppCompatActivity() { } setView(layout) setTitle(getString(R.string.autofill_onboarding_dialog_title)) - setMessage(getString(R.string.autofill_onboarding_dialog_message)) setPositiveButton(R.string.dialog_ok) { _, _ -> settings.edit { putBoolean("seen_autofill_onboarding", true) } startActivity(Intent(Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE).apply { -- cgit v1.2.3