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