mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 21:35:32 +00:00
fix #466
This commit is contained in:
parent
93f25eaccb
commit
01e03f033c
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ class _DownloadFileScreenState extends ConsumerState<DownloadFileScreen> {
|
|||
children: [
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
await _subscription?.cancel();
|
||||
try {
|
||||
await _subscription?.cancel();
|
||||
} catch (_) {}
|
||||
if (context.mounted) {
|
||||
Navigator.pop(context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue