From 48d3c360ae5430f626d2c0b9887754402555e3f5 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 30 Jan 2021 10:15:10 +0100 Subject: [PATCH] Fix keyboard not dismissed in Network settings --- Passepartout/App/iOS/CHANGELOG.md | 1 + .../App/iOS/Scenes/NetworkSettingsViewController.swift | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Passepartout/App/iOS/CHANGELOG.md b/Passepartout/App/iOS/CHANGELOG.md index 3fe14042..17097bb4 100644 --- a/Passepartout/App/iOS/CHANGELOG.md +++ b/Passepartout/App/iOS/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Redundant keychain items. +- Keyboard not dismissed in "Network settings". ## 1.14.0 (2021-01-07) diff --git a/Passepartout/App/iOS/Scenes/NetworkSettingsViewController.swift b/Passepartout/App/iOS/Scenes/NetworkSettingsViewController.swift index fcc35bad..538e0da2 100644 --- a/Passepartout/App/iOS/Scenes/NetworkSettingsViewController.swift +++ b/Passepartout/App/iOS/Scenes/NetworkSettingsViewController.swift @@ -806,6 +806,7 @@ extension NetworkSettingsViewController: FieldTableViewCellDelegate { commitTextField(cell.field) } - func fieldCellDidEnter(_: FieldTableViewCell) { + func fieldCellDidEnter(_ cell: FieldTableViewCell) { + cell.field.resignFirstResponder() } }