diff --git a/lib/src/view/home/home_tab_screen.dart b/lib/src/view/home/home_tab_screen.dart index 8f2b3a5569..d540ce6c5f 100644 --- a/lib/src/view/home/home_tab_screen.dart +++ b/lib/src/view/home/home_tab_screen.dart @@ -232,13 +232,14 @@ class _HomeScreenState extends ConsumerState with RouteAware { shouldShow: true, child: _HelloWidget(), ), - _EditableWidget( - widget: EnabledWidget.perfCards, - shouldShow: session != null, - child: const AccountPerfCards( - padding: Styles.horizontalBodyPadding, + if (status.isOnline) + _EditableWidget( + widget: EnabledWidget.perfCards, + shouldShow: session != null, + child: const AccountPerfCards( + padding: Styles.horizontalBodyPadding, + ), ), - ), _EditableWidget( widget: EnabledWidget.quickPairing, shouldShow: status.isOnline, @@ -344,13 +345,14 @@ class _HomeScreenState extends ConsumerState with RouteAware { shouldShow: true, child: _HelloWidget(), ), - _EditableWidget( - widget: EnabledWidget.perfCards, - shouldShow: session != null, - child: const AccountPerfCards( - padding: Styles.bodySectionPadding, + if (status.isOnline) + _EditableWidget( + widget: EnabledWidget.perfCards, + shouldShow: session != null, + child: const AccountPerfCards( + padding: Styles.bodySectionPadding, + ), ), - ), Row( crossAxisAlignment: CrossAxisAlignment.start, children: [