mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +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 {
|
||||
settings
|
||||
.alert(isPresented: $model.presentingAlert) { model.alert }
|
||||
#if os(iOS)
|
||||
.backport
|
||||
.scrollDismissesKeyboard()
|
||||
#endif
|
||||
}
|
||||
|
||||
var settings: some View {
|
||||
|
Loading…
Reference in New Issue
Block a user