From bec8a5b69f23d43ad18436010245129f1ee9de30 Mon Sep 17 00:00:00 2001 From: Psayker Date: Tue, 16 Apr 2024 15:39:18 +0300 Subject: [PATCH] Add size for incoming files --- main/src/ui/conversation_content_view/file_default_widget.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/conversation_content_view/file_default_widget.vala b/main/src/ui/conversation_content_view/file_default_widget.vala index 22142e7e..f55f3441 100644 --- a/main/src/ui/conversation_content_view/file_default_widget.vala +++ b/main/src/ui/conversation_content_view/file_default_widget.vala @@ -50,7 +50,7 @@ public class FileDefaultWidget : Box { switch (state) { case FileTransfer.State.COMPLETE: - mime_label.label = mime_description; + mime_label.label = _("%s offered: %s").printf(mime_description, get_size_string(size)); image_stack.set_visible_child_name("content_type_image"); // Create a menu