Skip to content

Commit

Permalink
fix(unknown_item_icon.dart): Use constructor size and color instead o…
Browse files Browse the repository at this point in the history
…f constant
  • Loading branch information
rlperez committed Dec 7, 2021
1 parent 861af61 commit 860634b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/assets/traits/unknown_item_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class UnknownItemIcon extends StatelessWidget {
color = WidgetStyleConstants.deviceIconColor,
Key? key})
: super(key: key) {
this._size = WidgetStyleConstants.defaultDeviceIconSize;
this._color = WidgetStyleConstants.deviceIconColor;
this._size = size;
this._color = color;
}

@override
Expand Down
1 change: 0 additions & 1 deletion lib/components/lock_widget.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:yonomi_device_widgets/assets/traits/device_item_icon.dart';
import 'package:yonomi_device_widgets/components/arc.dart';
import 'package:yonomi_device_widgets/providers/lock_provider.dart';
import 'package:yonomi_device_widgets/ui/widget_style_constants.dart';

Expand Down

0 comments on commit 860634b

Please sign in to comment.