Skip to content

Commit

Permalink
fix: use GestureDetector instead of InkWell widget for center icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ses110 committed May 20, 2021
1 parent 9a0c4e5 commit 6e1ce89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/components/lock_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class LockWidget extends StatelessWidget {
Center(
child: Arc(
centerWidget: SizedBox(
width: 200,
height: 200,
child: InkWell(
width: 175,
height: 175,
child: GestureDetector(
child: getLockStateIcon(lockProvider),
onTap: () {
bool setLock = !lockProvider.isLocked;
Expand Down

0 comments on commit 6e1ce89

Please sign in to comment.