Skip to content

Commit

Permalink
fix nested prompt error on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed Aug 30, 2024
1 parent af8fb6f commit 436267c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/helper/utils/prompts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ class Prompts {

static stopPromptPolling() {
if (isAndroidApp()) {
_snackbarController.close();
try {
_snackbarController.close();
} catch (e) {
// ignore: empty_catches
}
}
}
}
Expand Down

0 comments on commit 436267c

Please sign in to comment.