修改开锁动效时间

This commit is contained in:
魏少阳 2023-10-21 15:42:25 +08:00
parent 13b1307412
commit ed4c02d302
3 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ class BlueManage{
IoSenderManage.getPublicKey(lockId: deviceName);
// }
}
// connectStateCallBack!(connectionStateUpdate.connectionState);
connectStateCallBack!(connectionStateUpdate.connectionState);
} on Exception catch (e) {
EasyLoading.dismiss();
print('Error occurred when discovering services: $e');

View File

@ -371,7 +371,7 @@ class LockDetailLogic extends BaseGetXController{
privateKey: getPrivateKeyList,
);
}
});
}, isShowLoading: false);
}
//

View File

@ -406,7 +406,7 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
listeningAnimations(){
Future.delayed(Duration.zero, () {
state.animationController = AnimationController(
duration: const Duration(seconds: 30), vsync: this);
duration: const Duration(seconds: 20), vsync: this);
state.animationController.repeat();
//StatusListener
state.animationController.addStatusListener((status) {