Merge pull request #826 from greenart7c3/draft_decryption_error

fix draft decryption error
This commit is contained in:
Vitor Pamplona
2024-04-05 08:03:39 -04:00
committed by GitHub
@@ -78,7 +78,13 @@ class DraftEvent(
onReady: (Event) -> Unit,
) {
try {
plainContent(signer) { onReady(fromJson(it)) }
plainContent(signer) {
try {
onReady(fromJson(it))
} catch (e: Exception) {
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
}
}
} catch (e: Exception) {
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
}