feat: Enhance logging in CryptoManager for decryption errors; update button heights in ChatDetailScreen for consistent UI; improve reply clearing logic in ChatViewModel; add animated dismiss function in ForwardChatPickerBottomSheet
This commit is contained in:
@@ -309,6 +309,11 @@ object CryptoManager {
|
||||
// Decompress (zlib inflate - совместимо с pako.inflate в JS)
|
||||
String(decompress(decrypted), Charsets.UTF_8)
|
||||
} catch (e: Exception) {
|
||||
android.util.Log.e("ReplyDebug", "❌ [DECRYPT] decryptWithPassword failed:", e)
|
||||
android.util.Log.e("ReplyDebug", " - Input length: ${encryptedData.length}")
|
||||
android.util.Log.e("ReplyDebug", " - Input preview: ${encryptedData.take(100)}")
|
||||
android.util.Log.e("ReplyDebug", " - Password length: ${password.length}")
|
||||
android.util.Log.e("ReplyDebug", " - Exception: ${e.message}")
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user