From 8050060b7ea03a6de471ef2455a756d9f9da540e Mon Sep 17 00:00:00 2001 From: Shawn Date: Thu, 16 Feb 2023 10:02:43 -0700 Subject: [PATCH] Formatting fix --- .../screens/collection/collection_screen.dart | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/ui/screens/collection/collection_screen.dart b/lib/ui/screens/collection/collection_screen.dart index 5a55d7eb..0fb6715a 100644 --- a/lib/ui/screens/collection/collection_screen.dart +++ b/lib/ui/screens/collection/collection_screen.dart @@ -63,17 +63,20 @@ class _CollectionScreenState extends State with GetItStateMixi child: Column( children: [ Expanded( - child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - AppHeader(title: $strings.collectionTitleCollection, isTransparent: true), - _NewlyDiscoveredItemsBtn(count: discovered, onPressed: _scrollToTarget), - Flexible( - child: _CollectionList( - fromId: widget.fromId, - scrollKey: _scrollKey, - onReset: discovered + explored > 0 ? _handleReset : null, + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + AppHeader(title: $strings.collectionTitleCollection, isTransparent: true), + _NewlyDiscoveredItemsBtn(count: discovered, onPressed: _scrollToTarget), + Flexible( + child: _CollectionList( + fromId: widget.fromId, + scrollKey: _scrollKey, + onReset: discovered + explored > 0 ? _handleReset : null, + ), ), - ), - ]), + ], + ), ), _CollectionFooter(count: discovered + explored, total: total), ],