This commit is contained in:
Daisy 2023-10-23 09:45:26 +08:00
commit b9c74329d3
3 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

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

View File

@ -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) {