From 47256c8f5e9442552dae091f48894ad93cf9fad7 Mon Sep 17 00:00:00 2001 From: edge Date: Wed, 3 Apr 2024 13:41:01 +0900 Subject: [PATCH] bug: fix format --- lib/pages/liked_review_page.dart | 31 +++++++++++++++---------------- lib/pages/review_page.dart | 4 ++-- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/lib/pages/liked_review_page.dart b/lib/pages/liked_review_page.dart index 8a1e3569..10db174c 100644 --- a/lib/pages/liked_review_page.dart +++ b/lib/pages/liked_review_page.dart @@ -78,25 +78,24 @@ class LikedReviewPage extends StatelessWidget { childCount: reviews.length, ), ), - if(reviewPage*10 == reviews.length)...[ + if (reviewPage * 10 == reviews.length) ...[ SliverList( - delegate: SliverChildListDelegate([ - Padding( - padding: const EdgeInsets.only( - top: 4.0, bottom: 12.0), - child: const Center( - child: SizedBox( - width: 24, - height: 24, - child: CircularProgressIndicator( - color: OTLColor.grayE, - strokeWidth: 2, - ), + delegate: SliverChildListDelegate([ + Padding( + padding: const EdgeInsets.only( + top: 4.0, bottom: 12.0), + child: const Center( + child: SizedBox( + width: 24, + height: 24, + child: CircularProgressIndicator( + color: OTLColor.grayE, + strokeWidth: 2, ), ), - ) - ]) - ) + ), + ) + ])) ] ], ), diff --git a/lib/pages/review_page.dart b/lib/pages/review_page.dart index 9fc44910..5218d863 100644 --- a/lib/pages/review_page.dart +++ b/lib/pages/review_page.dart @@ -112,7 +112,7 @@ class LatestReviewsPage extends StatelessWidget { childCount: latestReviews.length, ), ), - if(latestReviewPage*10 == latestReviews.length)...[ + if (latestReviewPage * 10 == latestReviews.length) ...[ SliverList( delegate: SliverChildListDelegate([ Padding( @@ -172,7 +172,7 @@ class HallOfFamePage extends StatelessWidget { childCount: hallOfFames.length, ), ), - if(hallOfFamesPage*10 == hallOfFames.length)...[ + if (hallOfFamesPage * 10 == hallOfFames.length) ...[ SliverList( delegate: SliverChildListDelegate([ Padding(