Fix no deleted device warning on long press menu
This commit is contained in:
parent
d302fdc655
commit
2f3bbab4c4
|
@ -2625,6 +2625,7 @@
|
||||||
|
|
||||||
<string name="unencrypted">Unencrypted</string>
|
<string name="unencrypted">Unencrypted</string>
|
||||||
<string name="encrypted_unverified">Encrypted by an unverified device</string>
|
<string name="encrypted_unverified">Encrypted by an unverified device</string>
|
||||||
|
<string name="encrypted_by_deleted">Encrypted by a deleted device</string>
|
||||||
<string name="key_authenticity_not_guaranteed">The authenticity of this encrypted message can\'t be guaranteed on this device.</string>
|
<string name="key_authenticity_not_guaranteed">The authenticity of this encrypted message can\'t be guaranteed on this device.</string>
|
||||||
<string name="review_logins">Review where you’re logged in</string>
|
<string name="review_logins">Review where you’re logged in</string>
|
||||||
<string name="verify_other_sessions">Verify all your sessions to ensure your account & messages are safe</string>
|
<string name="verify_other_sessions">Verify all your sessions to ensure your account & messages are safe</string>
|
||||||
|
|
|
@ -151,8 +151,15 @@ class MessageActionsEpoxyController @Inject constructor(
|
||||||
drawableStart(R.drawable.ic_shield_gray)
|
drawableStart(R.drawable.ic_shield_gray)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else -> {
|
E2EDecoration.WARN_SENT_BY_DELETED_SESSION -> {
|
||||||
// nothing
|
bottomSheetSendStateItem {
|
||||||
|
id("e2e_deleted")
|
||||||
|
showProgress(false)
|
||||||
|
text(host.stringProvider.getString(R.string.encrypted_by_deleted))
|
||||||
|
drawableStart(R.drawable.ic_shield_warning_small)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
E2EDecoration.NONE -> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue