Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed May 22, 2024
1 parent f3bd446 commit 4f32a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pub_stats/lib/view/widget/stats/base_stat_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class BaseStatChart extends StatelessWidget {
static LineTouchData createDefaultLineTouchData(BuildContext context) {
return LineTouchData(
touchTooltipData: LineTouchTooltipData(
tooltipBgColor: context.theme.cardColor,
getTooltipColor: (_) => context.theme.cardColor,
getTooltipItems: (spots) => spots.mapIndexed((spotIndex, spot) {
final barIndex = spot.barIndex;
final valueString = spot.y.toInt().toString();
Expand Down

0 comments on commit 4f32a43

Please sign in to comment.