Skip to content

Commit

Permalink
bug: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
RGLie committed Apr 3, 2024
1 parent 351058a commit 47256c8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
31 changes: 15 additions & 16 deletions lib/pages/liked_review_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check warning on line 84 in lib/pages/liked_review_page.dart

View check run for this annotation

Codecov / codecov/patch

lib/pages/liked_review_page.dart#L81-L84

Added lines #L81 - L84 were not covered by tests
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,
),
),
)
])
)
),
)
]))
]
],
),
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/review_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check warning on line 118 in lib/pages/review_page.dart

View check run for this annotation

Codecov / codecov/patch

lib/pages/review_page.dart#L115-L118

Added lines #L115 - L118 were not covered by tests
Expand Down Expand Up @@ -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(

Check warning on line 178 in lib/pages/review_page.dart

View check run for this annotation

Codecov / codecov/patch

lib/pages/review_page.dart#L175-L178

Added lines #L175 - L178 were not covered by tests
Expand Down

0 comments on commit 47256c8

Please sign in to comment.