From 5fd0a9ca145cc40fd482354cccca4f3ee0d975fb Mon Sep 17 00:00:00 2001 From: Anxcye Date: Sun, 11 Aug 2024 16:16:28 +0800 Subject: [PATCH] fix: percentage at book shelf --- lib/widgets/book_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/book_item.dart b/lib/widgets/book_item.dart index ef96485..de0ea20 100644 --- a/lib/widgets/book_item.dart +++ b/lib/widgets/book_item.dart @@ -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,