18034727885
2026-06-24 32fb2d1c8857b6ba930e22fc47cde716d9f7ad52
修复问题
1个文件已修改
4 ■■■■■ 已修改文件
app/src/main/java/com/xw/yunwei/ui/task/accident/detail/AccidentDetailVM.kt 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/java/com/xw/yunwei/ui/task/accident/detail/AccidentDetailVM.kt
@@ -386,8 +386,8 @@
                    hour.postValue(if (list[0] < 10) "0${list[0]}" else "${list[0]}")
                    minutes.postValue(if (list[1] < 10) "0${list[1]}" else "${list[1]}")
                    second.postValue(if (list[2] < 10) "0${list[2]}" else "${list[2]}")
                    // 剩余时间不足一小时显示红色警告
                    showRed.postValue(list[0] == 0L && list[1] == 0L)
                    // 剩余时间不足3分钟显示红色警告
                    showRed.postValue(list[0] == 0L && list[1] == 2L)
                    if (list.all { it == 0L }) { // 全0 此项移除
                        isTimeOut.postValue(true)
                    }