Skip to content

Commit

Permalink
refactor: rename methods in DeviceItemIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
ses110 committed May 24, 2021
1 parent 1550dac commit 880bf56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/lock_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class LockWidget extends StatelessWidget {
return (lockProvider.loadingDetail || lockProvider.loadingAction)
? Center(child: CircularProgressIndicator())
: (lockProvider.isLocked)
? DeviceItemIcon.getLockIcon(
? DeviceItemIcon.buildLockIcon(
175, WidgetStyleConstants.deviceDetailIconColorActive)
: DeviceItemIcon.getUnlockIcon(
: DeviceItemIcon.buildUnlockIcon(
175, WidgetStyleConstants.deviceDetailIconColorInactive);
}
}

0 comments on commit 880bf56

Please sign in to comment.