Skip to content

Commit

Permalink
Improve the message shown on a Chrome GetTouch request
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Dec 24, 2019
1 parent 98edc5c commit 6f5e388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sealed class RequestInfo(open val action: AuthenticatorAction) {
AUTHENTICATE_NO_CREDENTIALS -> "Reveal that you are not registered?"
REGISTER -> "Register$formattedRpPart$formattedUserPart?$formattedAdditionalInfo"
REGISTER_CREDENTIAL_EXCLUDED -> "Reveal previous registration or error$formattedRpPart?"
REQUIREMENTS_NOT_MET_CHROME -> "You are not registered to the site or it requires single-factor mode to be enabled.<br/>Show a more detailed error message in the browser?"
REQUIREMENTS_NOT_MET_CHROME -> "Continue with this security key?"
}, Html.FROM_HTML_MODE_LEGACY
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class ManageSpaceActivity : FragmentActivity(), CoroutineScope {
}
setNegativeButton { _, _ -> returnResult(Activity.RESULT_CANCELED) }
setOnCancelListener { returnResult(Activity.RESULT_CANCELED) }
setOnShowListener { wink(context) }
}.show()
}

Expand Down

0 comments on commit 6f5e388

Please sign in to comment.