diff --git a/lib/src/view/home/home_tab_screen.dart b/lib/src/view/home/home_tab_screen.dart index 00516cb0f9..150e1a59c1 100644 --- a/lib/src/view/home/home_tab_screen.dart +++ b/lib/src/view/home/home_tab_screen.dart @@ -400,11 +400,11 @@ class _CreateAGameSection extends StatelessWidget { } } -class _CustomGameButton extends StatelessWidget { +class _CustomGameButton extends ConsumerWidget { const _CustomGameButton(); @override - Widget build(BuildContext context) { + Widget build(BuildContext context, WidgetRef ref) { return Padding( padding: Styles.bodySectionBottomPadding, child: CardButton( @@ -420,6 +420,7 @@ class _CustomGameButton extends StatelessWidget { ], ), onTap: () { + ref.invalidate(accountProvider); pushPlatformRoute( context, title: context.l10n.custom,