perf: reduce chat animation churn

This commit is contained in:
Peter Steinberger
2025-12-24 13:51:00 +01:00
parent 0139a77e94
commit e158bee95f
2 changed files with 33 additions and 3 deletions

View File

@@ -80,11 +80,13 @@ public struct ClawdisChatView: View {
if self.viewModel.pendingRunCount > 0 {
ChatTypingIndicatorBubble(style: self.style)
.equatable()
.frame(maxWidth: .infinity, alignment: .leading)
}
if !self.viewModel.pendingToolCalls.isEmpty {
ChatPendingToolsBubble(toolCalls: self.viewModel.pendingToolCalls)
.equatable()
.frame(maxWidth: .infinity, alignment: .leading)
}