Skip to content

Commit

Permalink
Fixed on import jounrey from external tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic-Vanden-Bossche committed Jul 16, 2024
1 parent 25b9393 commit 9aa590c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ void journeyImportModalFromType(
onGpxDownloaded: (file) async {
Navigator.of(context).pop();
await uploadJourneyFile(file, true);

if (context.mounted) {
Navigator.of(context).pop();
}

selected?.call();
},
);
Expand Down

0 comments on commit 9aa590c

Please sign in to comment.