Skip to content

Commit

Permalink
fix(color_temp_slim_widget): use correct icons according to figma (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
ses110 committed Apr 27, 2022
1 parent 70ff193 commit e8354d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/traits/color_temperature_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ class _ColorTemperatureWidgetState extends State<ColorTemperatureWidget>
),
SizedBox(height: 10),
Row(children: [
Icon(BootstrapIcons.thermometer_sun, color: widget._iconColor),
Icon(
BootstrapIcons.thermometer_sun,
color: widget._iconColor,
),
Expanded(
child: Slider(
label: ColorTemperatureWidget.label,
Expand Down
5 changes: 4 additions & 1 deletion lib/traits/slim/color_temperature_slim_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ class _ColorTemperatureSlimWidgetState
leading: (widget._colorTemperatureProvider.isPerformingAction ||
widget._colorTemperatureProvider.isLoading)
? CircularProgressIndicator()
: Icon(BootstrapIcons.box, color: widget._iconColor),
: Icon(
BootstrapIcons.thermometer_sun,
color: widget._iconColor,
),
title: Slider(
label: ColorTemperatureSlimWidget.label,
value: colorTemperature?.toDouble() ?? DEFAULT_COLOR_TEMP,
Expand Down

0 comments on commit e8354d9

Please sign in to comment.