disable keyboard

This commit is contained in:
cheykrym 2025-10-22 05:59:34 +03:00
parent bbed505033
commit 055c57c208

View File

@ -88,6 +88,12 @@ struct PrivateChatView: View {
}
.padding(.vertical, 12)
}
.simultaneousGesture(
DragGesture().onChanged { value in
guard value.translation.height > 0 else { return }
isComposerFocused = false
}
)
.refreshable {
viewModel.refresh()
}