Skip to content

Commit

Permalink
Revert memory leak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Dec 2, 2020
1 parent 94c3dfd commit a7496b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "https://github.com/danielsaidi/KeyboardKit",
"state": {
"branch": "layout",
"revision": "c71939a9696bbd66daa016d73644b61178f31f51",
"revision": "66b9c138495d56109f206a8998e28622b1c5d8e8",
"version": null
}
},
Expand All @@ -15,7 +15,7 @@
"repositoryURL": "https://github.com/danielsaidi/KeyboardKitSwiftUI",
"state": {
"branch": "layout",
"revision": "e2d3cc76a130a41551e2b76e548adccf07cc3434",
"revision": "50859d157b7dfb49595bafd501f69ac4081b9167",
"version": null
}
}
Expand Down
4 changes: 1 addition & 3 deletions KeyboardKitDemoKeyboard/KeyboardViewController+Buttons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ extension KeyboardViewController {
}

func buttonRows(for rows: KeyboardActionRows, distribution: UIStackView.Distribution) -> [KeyboardStackViewComponent] {
var rows = rows.map {
buttonRow(for: $0, distribution: distribution)
}
var rows = rows.map { buttonRow(for: $0, distribution: distribution) }
rows.insert(autocompleteToolbar, at: 0)
return rows
}
Expand Down

0 comments on commit a7496b2

Please sign in to comment.