Merge branch 'master' of https://gitee.com/weishaoyang/star_lock
This commit is contained in:
commit
b9c74329d3
@ -179,7 +179,7 @@ class BlueManage{
|
|||||||
IoSenderManage.getPublicKey(lockId: deviceName);
|
IoSenderManage.getPublicKey(lockId: deviceName);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
// connectStateCallBack!(connectionStateUpdate.connectionState);
|
connectStateCallBack!(connectionStateUpdate.connectionState);
|
||||||
} on Exception catch (e) {
|
} on Exception catch (e) {
|
||||||
EasyLoading.dismiss();
|
EasyLoading.dismiss();
|
||||||
print('Error occurred when discovering services: $e');
|
print('Error occurred when discovering services: $e');
|
||||||
|
|||||||
@ -371,7 +371,7 @@ class LockDetailLogic extends BaseGetXController{
|
|||||||
privateKey: getPrivateKeyList,
|
privateKey: getPrivateKeyList,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
}, isShowLoading: false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 编辑用户事件
|
// 编辑用户事件
|
||||||
|
|||||||
@ -406,7 +406,7 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
|
|||||||
listeningAnimations(){
|
listeningAnimations(){
|
||||||
Future.delayed(Duration.zero, () {
|
Future.delayed(Duration.zero, () {
|
||||||
state.animationController = AnimationController(
|
state.animationController = AnimationController(
|
||||||
duration: const Duration(seconds: 30), vsync: this);
|
duration: const Duration(seconds: 20), vsync: this);
|
||||||
state.animationController.repeat();
|
state.animationController.repeat();
|
||||||
//动画开始、结束、向前移动或向后移动时会调用StatusListener
|
//动画开始、结束、向前移动或向后移动时会调用StatusListener
|
||||||
state.animationController.addStatusListener((status) {
|
state.animationController.addStatusListener((status) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user