fix(ios): keep chat messages above composer · openclaw/openclaw@dc5c24f
joshavant
·
2026-06-06
·
via Recent Commits to openclaw:main
File tree
apps/shared/OpenClawKit/Sources/OpenClawChatUI
| Original file line number | Diff line number | Diff line change |
|---|
@@ -128,16 +128,14 @@ public struct OpenClawChatView: View {
|
128 | 128 | VStack(spacing: 0) { |
129 | 129 | self.messageList |
130 | 130 | .padding(.horizontal, Layout.outerPaddingHorizontal) |
131 | | -} |
132 | | -.padding(.top, Layout.outerPaddingVertical) |
133 | | -.frame(maxWidth: .infinity) |
134 | | -.frame(maxHeight: .infinity, alignment: .top) |
135 | | -.safeAreaInset(edge: .bottom, spacing: 0) { |
136 | 131 | self.composer |
137 | 132 | .padding(.horizontal, Layout.composerPaddingHorizontal) |
138 | 133 | .padding(.top, Layout.stackSpacing) |
139 | 134 | .padding(.bottom, Layout.outerPaddingVertical) |
140 | 135 | } |
| 136 | +.padding(.top, Layout.outerPaddingVertical) |
| 137 | +.frame(maxWidth: .infinity) |
| 138 | +.frame(maxHeight: .infinity, alignment: .top) |
141 | 139 | #endif |
142 | 140 | } |
143 | 141 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。