Skip to content

Commit

Permalink
feat(ux/ui): Round trending icons
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique-lozano committed Nov 1, 2023
1 parent 5728094 commit ee3bc56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core/presentation/widgets/trending_value.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ class TrendingValue extends StatelessWidget {
children: [
if (percentage != 0)
Icon(
percentage > 0 ? Icons.trending_up : Icons.trending_down,
percentage > 0
? Icons.trending_up_rounded
: Icons.trending_down_rounded,
size: fontSize * (9 / 7),
color: _getColorBasedOnPercentage(context),
),
Expand Down

0 comments on commit ee3bc56

Please sign in to comment.