Skip to content

Commit

Permalink
Fix can't go to home screen in error page
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Sep 27, 2023
1 parent db39ab4 commit ac8fc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/error_page/error_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class _ErrorPageBackButton extends StatelessWidget {
Widget build(BuildContext context) {
return TextButton.icon(
icon: const Icon(Icons.arrow_back),
onPressed: () => _goToRooms,
onPressed: () => _goToRooms(context),
label: Text(
L10n.of(context)!.errorPageButton,
),
Expand Down

0 comments on commit ac8fc30

Please sign in to comment.