minor fix
This commit is contained in:
parent
3fb6012915
commit
dc0f019e2f
2 changed files with 6 additions and 2 deletions
|
@ -76,11 +76,13 @@ class FilterTable<T extends Comparable> extends StatelessWidget {
|
||||||
progressColor: stringToColor(label),
|
progressColor: stringToColor(label),
|
||||||
animation: true,
|
animation: true,
|
||||||
isRTL: isRtl,
|
isRTL: isRtl,
|
||||||
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
// TODO TLAD handle low percents being rendered with wrong radius clip
|
||||||
|
barRadius: Radius.circular(lineHeight / 2),
|
||||||
center: Text(
|
center: Text(
|
||||||
intl.NumberFormat.percentPattern().format(percent),
|
intl.NumberFormat.percentPattern().format(percent),
|
||||||
style: const TextStyle(shadows: Constants.embossShadows),
|
style: const TextStyle(shadows: Constants.embossShadows),
|
||||||
),
|
),
|
||||||
|
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'$count',
|
'$count',
|
||||||
|
|
|
@ -111,11 +111,13 @@ class StatsPage extends StatelessWidget {
|
||||||
animation: animate,
|
animation: animate,
|
||||||
isRTL: context.isRtl,
|
isRTL: context.isRtl,
|
||||||
leading: const Icon(AIcons.location),
|
leading: const Icon(AIcons.location),
|
||||||
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
// TODO TLAD handle low percents being rendered with wrong radius clip
|
||||||
|
barRadius: Radius.circular(lineHeight / 2),
|
||||||
center: Text(
|
center: Text(
|
||||||
intl.NumberFormat.percentPattern().format(withGpsPercent),
|
intl.NumberFormat.percentPattern().format(withGpsPercent),
|
||||||
style: const TextStyle(shadows: Constants.embossShadows),
|
style: const TextStyle(shadows: Constants.embossShadows),
|
||||||
),
|
),
|
||||||
|
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
|
|
Loading…
Reference in a new issue