Skip to content

Commit

Permalink
fix: possible fix to #227
Browse files Browse the repository at this point in the history
  • Loading branch information
lucien144 committed May 11, 2021
1 parent 7c4c01a commit dbc9d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/HomePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class _HomePageState extends State<HomePage> with RouteAware, WidgetsBindingObse

@override
Widget build(BuildContext context) {
if (ApiController().buildContext == null) {
if (ApiController().buildContext == null || ApiController().buildContext.hashCode != context.hashCode) {
ApiController().buildContext = context;
}

Expand Down

0 comments on commit dbc9d50

Please sign in to comment.