fix(shift): 调班设置迷你月历重排起点角标显示班/休状态(起·班/起·休)
This commit is contained in:
parent
dfe7b5a6c3
commit
d7406ef652
@ -340,7 +340,11 @@ private fun ShiftDayCell(
|
||||
else -> Color.Transparent
|
||||
}
|
||||
val badgeText = when {
|
||||
isRephaseStart -> "起"
|
||||
isRephaseStart -> when (kind) {
|
||||
ShiftKind.WORK -> "起·班"
|
||||
ShiftKind.OFF -> "起·休"
|
||||
null -> "起"
|
||||
}
|
||||
kind == ShiftKind.WORK -> "班"
|
||||
kind == ShiftKind.OFF -> "休"
|
||||
else -> ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user