Skip to content

Commit

Permalink
Fix perf stat screen after upgrading fl_chart
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Jan 13, 2025
1 parent c15aa67 commit b5a95a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/view/user/perf_stats_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ class _EloChartState extends State<_EloChart> {

Widget leftTitlesWidget(double value, TitleMeta meta) {
return SideTitleWidget(
axisSide: meta.axisSide,
meta: meta,
child: Text(
value.toInt().toString(),
style: const TextStyle(color: Colors.grey, fontSize: 10),
Expand All @@ -749,7 +749,7 @@ class _EloChartState extends State<_EloChart> {
if (value == _minX || value == _maxX) return const SizedBox.shrink();

return SideTitleWidget(
axisSide: meta.axisSide,
meta: meta,
child: Text(
formatDateFromTimestamp(value),
style: const TextStyle(color: Colors.grey, fontSize: 10),
Expand Down

0 comments on commit b5a95a1

Please sign in to comment.