mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Update new strings of unverified sessions alert.
This commit is contained in:
parent
0957b38329
commit
59ac3b4f8b
3 changed files with 8 additions and 4 deletions
|
@ -2647,8 +2647,12 @@
|
|||
<string name="unencrypted">Unencrypted</string>
|
||||
<string name="encrypted_unverified">Encrypted by an unverified device</string>
|
||||
<string name="key_authenticity_not_guaranteed">The authenticity of this encrypted message can\'t be guaranteed on this device.</string>
|
||||
<!-- TODO TO BE REMOVED -->
|
||||
<string name="review_logins">Review where you’re logged in</string>
|
||||
<!-- TODO TO BE REMOVED -->
|
||||
<string name="verify_other_sessions">Verify all your sessions to ensure your account & messages are safe</string>
|
||||
<string name="review_unverified_sessions_title">You have unverified sessions</string>
|
||||
<string name="review_unverified_sessions_description">Review to ensure your account is safe</string>
|
||||
<!-- Argument will be replaced by the other session name (e.g, Desktop, mobile) -->
|
||||
<string name="verify_this_session">Verify the new login accessing your account: %1$s</string>
|
||||
|
||||
|
|
|
@ -256,8 +256,8 @@ class HomeDetailFragment :
|
|||
alertManager.postVectorAlert(
|
||||
VerificationVectorAlert(
|
||||
uid = uid,
|
||||
title = getString(R.string.review_logins),
|
||||
description = getString(R.string.verify_other_sessions),
|
||||
title = getString(R.string.review_unverified_sessions_title),
|
||||
description = getString(R.string.review_unverified_sessions_description),
|
||||
iconId = R.drawable.ic_shield_warning
|
||||
).apply {
|
||||
viewBinder = VerificationVectorAlert.ViewBinder(user, avatarRenderer)
|
||||
|
|
|
@ -270,8 +270,8 @@ class NewHomeDetailFragment :
|
|||
alertManager.postVectorAlert(
|
||||
VerificationVectorAlert(
|
||||
uid = uid,
|
||||
title = getString(R.string.review_logins),
|
||||
description = getString(R.string.verify_other_sessions),
|
||||
title = getString(R.string.review_unverified_sessions_title),
|
||||
description = getString(R.string.review_unverified_sessions_description),
|
||||
iconId = R.drawable.ic_shield_warning
|
||||
).apply {
|
||||
viewBinder = VerificationVectorAlert.ViewBinder(user, avatarRenderer)
|
||||
|
|
Loading…
Reference in a new issue