mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Add scroll to dismiss keyboard
This commit is contained in:
parent
809bcd183a
commit
f86fd37c50
@ -27,6 +27,10 @@ struct SettingsView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
settings
|
settings
|
||||||
.alert(isPresented: $model.presentingAlert) { model.alert }
|
.alert(isPresented: $model.presentingAlert) { model.alert }
|
||||||
|
#if os(iOS)
|
||||||
|
.backport
|
||||||
|
.scrollDismissesKeyboard()
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
var settings: some View {
|
var settings: some View {
|
||||||
|
Loading…
Reference in New Issue
Block a user