2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use layers and boxes from lib_ui.

This commit is contained in:
John Preston
2019-09-18 14:19:05 +03:00
parent 860353824b
commit a6c84c36c0
209 changed files with 586 additions and 3349 deletions

View File

@@ -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