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),
|
||||
animation: true,
|
||||
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(
|
||||
intl.NumberFormat.percentPattern().format(percent),
|
||||
style: const TextStyle(shadows: Constants.embossShadows),
|
||||
),
|
||||
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
||||
),
|
||||
Text(
|
||||
'$count',
|
||||
|
|
|
@ -111,11 +111,13 @@ class StatsPage extends StatelessWidget {
|
|||
animation: animate,
|
||||
isRTL: context.isRtl,
|
||||
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(
|
||||
intl.NumberFormat.percentPattern().format(withGpsPercent),
|
||||
style: const TextStyle(shadows: Constants.embossShadows),
|
||||
),
|
||||
padding: EdgeInsets.symmetric(horizontal: lineHeight),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
|
|
Loading…
Reference in a new issue