以上优化补充提交
This commit is contained in:
parent
f8ddd52e86
commit
10c26668c1
@ -50,6 +50,9 @@ class LockMonitoringLogic extends BaseGetXController {
|
||||
Timer.periodic(const Duration(seconds: 1), (Timer t) async {
|
||||
state.oneMinuteTime.value++;
|
||||
// Get.log('state.oneMinuteTime.value:${state.oneMinuteTime.value}');
|
||||
if (UDPTalkClass().isEndCall == true) {
|
||||
return;
|
||||
}
|
||||
if (state.oneMinuteTime.value >= 60) {
|
||||
// 超过60秒了
|
||||
state.oneMinuteTimeTimer.cancel();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user