mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 01:53:41 +08:00
mini fix
This commit is contained in:
parent
21f58fc4bb
commit
e5958bb8d2
@ -105,6 +105,9 @@ class DownloaderDialogUIModel extends BaseUIModel {
|
||||
try {
|
||||
if (downloadTaskId != null) {
|
||||
rustFii.cancelDownload(id: downloadTaskId!);
|
||||
downloadTaskId = null;
|
||||
} else {
|
||||
Navigator.pop(context!, "cancel");
|
||||
}
|
||||
} catch (_) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user