fix: export video scans error

This commit is contained in:
2020-05-19 15:41:31 +08:00
parent 22536ea395
commit ced3a33034
2 changed files with 28 additions and 3 deletions

View File

@@ -743,9 +743,13 @@ namespace Pixiview.Illust
var success = await Task.Run(ugoira.ExportVideo); // ugoira.ExportGif
if (success != null)
{
#if DEBUG
msg = ResourceHelper.ExportSuccess;
#else
var result = await FileStore.SaveVideoToGalleryAsync(success);
msg = result ?? ResourceHelper.ExportSuccess;
#endif
}
}