Fixed bug that caused the skills list to display 100% every time
This commit is contained in:
1 parent
7fac0160e0
commit
c62dbbb707
1 file changed
+2
-2
@@ -53,11 +53,11 @@ class ContentListTile extends StatelessWidget {
|
|||||||
Expanded(flex: 2, child: Text(name)),
|
Expanded(flex: 2, child: Text(name)),
|
||||||
const Padding(padding: EdgeInsets.only(bottom: 8)),
|
const Padding(padding: EdgeInsets.only(bottom: 8)),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 5,
|
flex: 4,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(left: 8.0),
|
padding: const EdgeInsets.only(left: 8.0),
|
||||||
child: LinearProgressIndicator(
|
child: LinearProgressIndicator(
|
||||||
value: double.tryParse(percentage) ?? 1 / 100,
|
value: (double.tryParse(percentage) ?? 1) / 100,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user