Beta version 3.5.3: Fix build with Xcode.

This commit is contained in:
John Preston 2022-02-28 23:12:23 +03:00
parent 6decece009
commit 5cacf8a8af
1 changed files with 1 additions and 1 deletions

View File

@ -1083,7 +1083,7 @@ void PanelController::editWithUpload(int index, int documentIndex) {
}
void PanelController::readScanError(ReadScanError error) {
show(Ui::MakeInformBox([&] {
show(Ui::MakeInformBox([&]() -> rpl::producer<QString> {
switch (error) {
case ReadScanError::FileTooLarge:
return tr::lng_passport_error_too_large();