We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb85e01 commit a8fa18cCopy full SHA for a8fa18c
1 file changed
composeApp/src/commonMain/kotlin/org/onion/diffusion/viewmodel/ChatViewModel.kt
@@ -202,7 +202,7 @@ class ChatViewModel : ViewModel() {
202
val lastIndex = _currentChatMessages.lastIndex
203
_currentChatMessages.removeAt(lastIndex)
204
val generationDuration = Clock.System.now().toEpochMilliseconds() - startTime
205
- val msg = getString(Res.string.image_generation_finished, generationDuration.toString())
+ val msg = getString(Res.string.image_generation_finished).replace("%s", "${generationDuration/1000} s")
206
_currentChatMessages.add(lastIndex, ChatMessage(
207
message = msg,
208
isUser = false,
0 commit comments