fix: move new-chat icon left of token badge in top bar

This commit is contained in:
Bruno Deanoz 2026-06-23 14:27:24 +02:00
parent 9f7e3fb8b0
commit ecb89019dc

View file

@ -1033,9 +1033,6 @@ fun ChatScreen(
}
}
Spacer(Modifier.weight(1f))
val ctxLen = models.find { it.id == displayModel }?.context_length ?: 1_000_000
TokenBadge(used = usedTokens, contextLength = ctxLen)
Spacer(Modifier.width(8.dp))
Box(
Modifier.size(36.dp).clip(KaizenShapes.circle)
.clickable { haptics.tick(); newChat() },
@ -1047,6 +1044,9 @@ fun ChatScreen(
modifier = Modifier.size(17.dp),
)
}
Spacer(Modifier.width(4.dp))
val ctxLen = models.find { it.id == displayModel }?.context_length ?: 1_000_000
TokenBadge(used = usedTokens, contextLength = ctxLen)
}
}