Beta version 3.5.3: Fix build with Xcode.
This commit is contained in:
parent
6decece009
commit
5cacf8a8af
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue