From c62dbbb7070383af1cf0d23501cc0586cfa8d723 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 5 Dec 2024 15:56:46 +0100 Subject: [PATCH] Fixed bug that caused the skills list to display 100% every time --- lib/widgets/content_list_tile.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/content_list_tile.dart b/lib/widgets/content_list_tile.dart index 0f37818..40231b9 100644 --- a/lib/widgets/content_list_tile.dart +++ b/lib/widgets/content_list_tile.dart @@ -53,11 +53,11 @@ class ContentListTile extends StatelessWidget { Expanded(flex: 2, child: Text(name)), const Padding(padding: EdgeInsets.only(bottom: 8)), Expanded( - flex: 5, + flex: 4, child: Padding( padding: const EdgeInsets.only(left: 8.0), child: LinearProgressIndicator( - value: double.tryParse(percentage) ?? 1 / 100, + value: (double.tryParse(percentage) ?? 1) / 100, ), ), ),