Fix issue with enabled button shapes in compose screen

This commit is contained in:
Marcin Czachursk 2023-04-15 08:22:56 +02:00
parent 2fcd7bcd3c
commit 68f39b15e8
2 changed files with 104 additions and 98 deletions

View File

@ -388,8 +388,9 @@ struct ComposeView: View {
private func keyboardToolbar() -> some View {
VStack(spacing: 0) {
Divider()
HStack(alignment: .center, spacing: 22) {
HStack {
ScrollView(.horizontal) {
HStack(alignment: .center, spacing: 20) {
Button {
hideKeyboard()
self.focusedField = .unknown
@ -443,6 +444,8 @@ struct ComposeView: View {
} label: {
Image(systemName: "at")
}
}
}
Spacer()

View File

@ -361,8 +361,9 @@ struct ComposeView: View {
private func keyboardToolbar() -> some View {
VStack(spacing: 0) {
Divider()
HStack(alignment: .center, spacing: 22) {
HStack {
ScrollView(.horizontal) {
HStack(alignment: .center, spacing: 20) {
Button {
hideKeyboard()
self.focusedField = .unknown
@ -416,6 +417,8 @@ struct ComposeView: View {
} label: {
Image(systemName: "at")
}
}
}
Spacer()