Add size for incoming files

This commit is contained in:
Psayker 2024-04-16 15:39:18 +03:00 committed by Maxim Logaev
parent 595902355e
commit bec8a5b69f

View file

@ -50,7 +50,7 @@ public class FileDefaultWidget : Box {
switch (state) { switch (state) {
case FileTransfer.State.COMPLETE: 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"); image_stack.set_visible_child_name("content_type_image");
// Create a menu // Create a menu