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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user