2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Beta version 2.9.12: Fix build on Windows.

This commit is contained in:
John Preston
2021-08-24 21:08:35 +03:00
parent 018ee0564f
commit b5ae492f5e

View File

@@ -54,6 +54,7 @@ ScanInfo CollectScanInfo(const EditFile &file) {
langDateTimeFull(
base::unixtime::parse(file.fields.date)));
}
Unexpected("LoadStatus value in CollectScanInfo.");
} else if (file.uploadData) {
switch (file.uploadData->status.status()) {
case LoadStatus::Status::Failed:
@@ -69,6 +70,7 @@ ScanInfo CollectScanInfo(const EditFile &file) {
langDateTimeFull(
base::unixtime::parse(file.fields.date)));
}
Unexpected("LoadStatus value in CollectScanInfo.");
} else {
return Ui::FormatDownloadText(0, file.fields.size);
}