浏览代码

code cleaning

Bastian van de Wetering 6 年之前
父节点
当前提交
e68d5b7bd6
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      deltachat-ios/Controller/AccountSetupController.swift

+ 2 - 4
deltachat-ios/Controller/AccountSetupController.swift

@@ -272,8 +272,6 @@ class AccountSetupController: UITableViewController {
 		}
 		}
 	}
 	}
 
 
-
-
 	override func tableView(_: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
 	override func tableView(_: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
 		let section = indexPath.section
 		let section = indexPath.section
 		let row = indexPath.row
 		let row = indexPath.row
@@ -523,11 +521,11 @@ class AccountSetupController: UITableViewController {
 	}
 	}
 
 
 	private func resignFirstResponderOnAllCells() {
 	private func resignFirstResponderOnAllCells() {
-		basicSectionCells.map({
+		let _ = basicSectionCells.map({
 			resignCell(cell: $0)
 			resignCell(cell: $0)
 		})
 		})
 
 
-		advancedSectionCells.map({
+		let _ = advancedSectionCells.map({
 			resignCell(cell: $0)
 			resignCell(cell: $0)
 			}
 			}
 		)
 		)