diff --git a/lib/modules/more/about/providers/download_file_screen.dart b/lib/modules/more/about/providers/download_file_screen.dart index 6b8b5390..758bee07 100644 --- a/lib/modules/more/about/providers/download_file_screen.dart +++ b/lib/modules/more/about/providers/download_file_screen.dart @@ -67,7 +67,9 @@ class _DownloadFileScreenState extends ConsumerState { children: [ TextButton( onPressed: () async { - await _subscription?.cancel(); + try { + await _subscription?.cancel(); + } catch (_) {} if (context.mounted) { Navigator.pop(context); }