Move composer specific designs to the composer toolbar.

This commit is contained in:
Stefan Ceriu
2025-06-06 13:39:40 +03:00
committed by Stefan Ceriu
parent a4398b45fa
commit 4072031f4e
28 changed files with 58 additions and 74 deletions
@@ -39,6 +39,14 @@ struct ComposerToolbar: View {
}
.padding(.leading, 5)
.padding(.trailing, 8)
.padding(.bottom, context.composerFormattingEnabled ? 8 : 12)
.background {
if context.composerFormattingEnabled {
RoundedRectangle(cornerRadius: 20)
.stroke(Color.compound.borderInteractiveSecondary, lineWidth: 0.5)
.ignoresSafeArea()
}
}
.readFrame($frame)
.overlay(alignment: .bottom) {
if verticalSizeClass != .compact, !context.composerExpanded {