fix:增加倒计时结束、增加当计时开始时才显示时间

This commit is contained in:
liyi 2025-04-02 09:33:11 +08:00
parent 3f022ed878
commit 6efbc05225
2 changed files with 4 additions and 1 deletions

View File

@ -278,6 +278,8 @@ class TalkViewLogic extends BaseGetXController {
if (state.oneMinuteTime.value >= 60) { if (state.oneMinuteTime.value >= 60) {
t.cancel(); // t.cancel(); //
state.oneMinuteTime.value = 0; state.oneMinuteTime.value = 0;
//
udpHangUpAction();
} }
} }
}); });

View File

@ -159,7 +159,8 @@ class _TalkViewPageState extends State<TalkViewPage>
)) ))
: Container()), : Container()),
Obx( Obx(
() => state.listData.value.isNotEmpty () => state.listData.value.isNotEmpty &&
state.oneMinuteTime.value > 0
? Positioned( ? Positioned(
top: ScreenUtil().statusBarHeight + 75.h, top: ScreenUtil().statusBarHeight + 75.h,
width: 1.sw, width: 1.sw,