fix: 去掉派单/截止/要求时间的多余空格
🕐 2026-05-06 派单 → 🕐2026-05-06派单 ⏰ 截止 2026-05-07 → ⏰截止2026-05-07 📋 要求 2026-05-07 完成 → 📋要求2026-05-07完成 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -262,9 +262,9 @@ class TaskListFragment : BaseFragment<FragmentTaskListBinding>() {
|
|||||||
}
|
}
|
||||||
// 时间(派单时间 + 截止时间)
|
// 时间(派单时间 + 截止时间)
|
||||||
val timeLines = mutableListOf<String>()
|
val timeLines = mutableListOf<String>()
|
||||||
if (detail.sendTime.isNotEmpty()) timeLines.add("🕐 ${detail.sendTime} 派单")
|
if (detail.sendTime.isNotEmpty()) timeLines.add("🕐${detail.sendTime}派单")
|
||||||
if (!detail.expireTime.isNullOrEmpty()) timeLines.add("⏰ 截止 ${detail.expireTime}")
|
if (!detail.expireTime.isNullOrEmpty()) timeLines.add("⏰截止${detail.expireTime}")
|
||||||
if (!detail.preFinishTime.isNullOrEmpty()) timeLines.add("📋 要求 ${detail.preFinishTime} 完成")
|
if (!detail.preFinishTime.isNullOrEmpty()) timeLines.add("📋要求${detail.preFinishTime}完成")
|
||||||
if (timeLines.isNotEmpty()) {
|
if (timeLines.isNotEmpty()) {
|
||||||
binding.tvTimeInfo.text = timeLines.joinToString("\n")
|
binding.tvTimeInfo.text = timeLines.joinToString("\n")
|
||||||
binding.tvTimeInfo.visibility = View.VISIBLE
|
binding.tvTimeInfo.visibility = View.VISIBLE
|
||||||
|
|||||||
Reference in New Issue
Block a user