Skip to content

Commit

Permalink
Fix "Null check operator used on a null value" in `download_unknown_f…
Browse files Browse the repository at this point in the history
…ile_type_dialog_content.dart` (#1094)
  • Loading branch information
nilsreichardt authored Sep 25, 2023
1 parent 2174c5f commit 7aff0ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class DownloadUnknownFileTypeDialogContent extends StatelessWidget {

void _closeDialogAfter1500Milliseconds(BuildContext context) {
Future.delayed(const Duration(milliseconds: 1500)).then((_) {
if (!context.mounted) return;
Navigator.pop(context);
});
}
Expand Down

0 comments on commit 7aff0ee

Please sign in to comment.