Skip to content

Commit

Permalink
fix: percentage at book shelf
Browse files Browse the repository at this point in the history
  • Loading branch information
Anxcye committed Aug 11, 2024
1 parent a8e6ddc commit 5fd0a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/book_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BookItem extends StatelessWidget {
),
),
Text(
'${book.readingPercentage.toStringAsFixed(0)}%',
'${(book.readingPercentage * 100).toStringAsFixed(0)}%',
style: const TextStyle(
fontWeight: FontWeight.w300,
fontSize: 9,
Expand Down

0 comments on commit 5fd0a9c

Please sign in to comment.