Skip to content

Commit

Permalink
fix(lock_widget.dart): Remove arc as the arc doesn't match mockups fo…
Browse files Browse the repository at this point in the history
…r lock
  • Loading branch information
rlperez committed Dec 6, 2021
1 parent cceea78 commit fc5e019
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions lib/components/lock_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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) {},
),
)
),
),
),
]);
}
Expand Down

0 comments on commit fc5e019

Please sign in to comment.