mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Add scroll to dismiss keyboard
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user