Skip to content

Commit

Permalink
fix(notice_util): something wrong when catching bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuJHua committed Aug 26, 2024
1 parent becd739 commit 7fc4781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/notice_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class NoticeUtil {

void showBug(message, {required Object error, StackTrace? stackTrace}) {
final colorScheme = Theme.of(Get.context!).colorScheme;
ScaffoldMessenger.of(Get.context!).clearSnackBars();
ScaffoldMessenger.of(Get.context!).showSnackBar(
SnackBar(
content: Column(
Expand Down

0 comments on commit 7fc4781

Please sign in to comment.