From 5f6c4c3beabd1e77711d01dfd260b7a9fbe53c1b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 8 Sep 2024 15:17:42 +0200 Subject: [PATCH] Display message size in message details --- sbapp/ui/messages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sbapp/ui/messages.py b/sbapp/ui/messages.py index 906fcad..6a04b61 100644 --- a/sbapp/ui/messages.py +++ b/sbapp/ui/messages.py @@ -115,6 +115,9 @@ class Messages(): d_text = "" if "lxm" in msg and msg["lxm"] != None: + size_str = RNS.prettysize(msg["lxm"].packed_size) + d_text += f"[size={ss}][b]Message size[/b] {size_str}[/size]\n" + if msg["lxm"].signature_validated: d_text += f"[size={ss}][b]Signature[/b] validated successfully[/size]\n" else: