This commit is contained in:
Moustapha Kodjo Amadou 2025-05-30 19:10:10 +01:00
parent 93f25eaccb
commit 01e03f033c

View file

@ -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);
}