mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use layers and boxes from lib_ui.
This commit is contained in:
@@ -953,13 +953,13 @@ void FileLoadTask::finish() {
|
||||
Ui::show(
|
||||
Box<InformBox>(
|
||||
tr::lng_send_image_empty(tr::now, lt_name, _filepath)),
|
||||
LayerOption::KeepOther);
|
||||
Ui::LayerOption::KeepOther);
|
||||
removeFromAlbum();
|
||||
} else if (_result->filesize > App::kFileSizeLimit) {
|
||||
Ui::show(
|
||||
Box<InformBox>(
|
||||
tr::lng_send_image_too_large(tr::now, lt_name, _filepath)),
|
||||
LayerOption::KeepOther);
|
||||
Ui::LayerOption::KeepOther);
|
||||
removeFromAlbum();
|
||||
} else if (App::main()) {
|
||||
const auto fullId = _msgIdToEdit
|
||||
|
Reference in New Issue
Block a user