diff --git a/lib/components/lock_widget.dart b/lib/components/lock_widget.dart index dc465b57..c93919e1 100644 --- a/lib/components/lock_widget.dart +++ b/lib/components/lock_widget.dart @@ -25,9 +25,7 @@ class LockWidget extends StatelessWidget { height: 80, ), Center( - child: Arc( - showThumb: false, - centerWidget: SizedBox( + child: width: WidgetStyleConstants.defaultDeviceWidgetSize, height: WidgetStyleConstants.defaultDeviceWidgetSize, child: GestureDetector( @@ -37,14 +35,9 @@ class LockWidget extends StatelessWidget { lockProvider.setLockUnlockAction( lockProvider.deviceDetail.id, setLock); }, - )), - color: lockProvider.isLocked - ? WidgetStyleConstants.deviceDetailIconColorActive - : WidgetStyleConstants.deviceDetailIconColorInactive, - initialValue: 0.0, - maxValue: 1.0, - onFinalSetPoint: (double value) {}, - ), + ) + ), + ), ), ]); }