mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-12 02:00:22 +00:00
fix
This commit is contained in:
@@ -84,7 +84,7 @@ class DownloaderDialogUIModel extends BaseUIModel {
|
||||
}
|
||||
} catch (e) {
|
||||
if (e is DioException && e.type != DioExceptionType.cancel) {
|
||||
if (mounted) showToast(context!, "下载失败:$e");
|
||||
Navigator.pop(context!, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user