disable keyboard
This commit is contained in:
parent
bbed505033
commit
055c57c208
@ -88,6 +88,12 @@ struct PrivateChatView: View {
|
|||||||
}
|
}
|
||||||
.padding(.vertical, 12)
|
.padding(.vertical, 12)
|
||||||
}
|
}
|
||||||
|
.simultaneousGesture(
|
||||||
|
DragGesture().onChanged { value in
|
||||||
|
guard value.translation.height > 0 else { return }
|
||||||
|
isComposerFocused = false
|
||||||
|
}
|
||||||
|
)
|
||||||
.refreshable {
|
.refreshable {
|
||||||
viewModel.refresh()
|
viewModel.refresh()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user