From dc5c24fbe6c05f8f8ee03c4116dfd758291c040d Mon Sep 17 00:00:00 2001 From: joshavant <830519+joshavant@users.noreply.github.com> Date: Sat, 6 Jun 2026 02:29:50 -0500 Subject: [PATCH] fix(ios): keep chat messages above composer --- .../OpenClawKit/Sources/OpenClawChatUI/ChatView.swift | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatView.swift b/apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatView.swift index a1980e331b7a..d31d605e66e9 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatView.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawChatUI/ChatView.swift @@ -128,16 +128,14 @@ public struct OpenClawChatView: View { VStack(spacing: 0) { self.messageList .padding(.horizontal, Layout.outerPaddingHorizontal) - } - .padding(.top, Layout.outerPaddingVertical) - .frame(maxWidth: .infinity) - .frame(maxHeight: .infinity, alignment: .top) - .safeAreaInset(edge: .bottom, spacing: 0) { self.composer .padding(.horizontal, Layout.composerPaddingHorizontal) .padding(.top, Layout.stackSpacing) .padding(.bottom, Layout.outerPaddingVertical) } + .padding(.top, Layout.outerPaddingVertical) + .frame(maxWidth: .infinity) + .frame(maxHeight: .infinity, alignment: .top) #endif }