forked from GitHub-Mirror/riotX-android
Fix / clear unknown session map before re-request decrypt
This commit is contained in:
@ -55,7 +55,8 @@ class EncryptedItemFactory @Inject constructor(private val messageInformationDat
|
||||
cryptoError?.name
|
||||
}
|
||||
|
||||
val message = stringProvider.getString(R.string.notice_crypto_unable_to_decrypt, errorDescription)
|
||||
val message = stringProvider.getString(R.string.encrypted_message).takeIf { cryptoError == null }
|
||||
?: stringProvider.getString(R.string.notice_crypto_unable_to_decrypt, errorDescription)
|
||||
val spannableStr = span(message) {
|
||||
textStyle = "italic"
|
||||
textColor = colorProvider.getColorFromAttribute(R.attr.riotx_text_secondary)
|
||||
|
Reference in New Issue
Block a user