fix: 巡检时段去掉"巡检"二字防换行
🔍巡检09:00~18:00 → 🔍09:00~18:00 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -268,7 +268,7 @@ class TaskListFragment : BaseFragment<FragmentTaskListBinding>() {
|
||||
// 巡检任务显示巡检时段
|
||||
if (detail.taskType == 5 && !detail.executeTimeStart.isNullOrEmpty()) {
|
||||
val end = detail.executeTimeEnd ?: ""
|
||||
timeLines.add("🔍巡检${detail.executeTimeStart}~${end}")
|
||||
timeLines.add("🔍${detail.executeTimeStart}~${end}")
|
||||
}
|
||||
if (timeLines.isNotEmpty()) {
|
||||
binding.tvTimeInfo.text = timeLines.joinToString("\n")
|
||||
@@ -337,7 +337,7 @@ class TaskListFragment : BaseFragment<FragmentTaskListBinding>() {
|
||||
private fun showInspectTime(detail: TaskDetail) {
|
||||
if (detail.taskType == 5 && !detail.executeTimeStart.isNullOrEmpty()) {
|
||||
val end = detail.executeTimeEnd ?: ""
|
||||
binding.tvTimeInfo.text = "🔍巡检${detail.executeTimeStart}~${end}"
|
||||
binding.tvTimeInfo.text = "🔍${detail.executeTimeStart}~${end}"
|
||||
binding.tvTimeInfo.visibility = View.VISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user