diff --git a/lib/new_ui/exception_widget/ExceptionBottomSheet.dart b/lib/new_ui/exception_widget/ExceptionBottomSheet.dart index 44c5453c..e61fdc68 100644 --- a/lib/new_ui/exception_widget/ExceptionBottomSheet.dart +++ b/lib/new_ui/exception_widget/ExceptionBottomSheet.dart @@ -83,6 +83,7 @@ class _ExceptionBottomSheetState extends State { borderColor: CustomColors.bgRedLightColor, textColor: CustomColors.bgRedColor, icon: "assets/images/svg/cancel.svg", + iconColor: CustomColors.bgRedColor, ), ), SizedBox(width: MediaQuery.of(context).size.width * 0.05), diff --git a/lib/pages/login/welcome.dart b/lib/pages/login/welcome.dart index 0b1b9550..016b2bd7 100644 --- a/lib/pages/login/welcome.dart +++ b/lib/pages/login/welcome.dart @@ -359,6 +359,7 @@ class _WelcomeLogin extends State { child: ExceptionBottomSheet( message: err.toString(), showCancel: true, + onOkPressed: () { Navigator.of(context).pop(); Navigator.of(context).push(FadePage(page: RegisterNew()));