Fixed bug that caused the skills list to display 100% every time
This commit is contained in:
@@ -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