Skip to content

Commit

Permalink
Fixed tiny warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gdombiak committed Nov 29, 2019
1 parent 7f7fe78 commit 8bd7169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class PrinterDetailsViewController: ThemedStaticUITableViewController, CloudKitP
}

fileprivate func adjustingHeight(show: Bool, notification: Notification) {
var userInfo = notification.userInfo!
let userInfo = notification.userInfo!
let keyboardFrame: CGRect = (userInfo[UIResponder.keyboardFrameBeginUserInfoKey] as! NSValue).cgRectValue
// let animationDurarion = userInfo[UIKeyboardAnimationDurationUserInfoKey] as! TimeInterval
let changeInHeight = (keyboardFrame.height + 40) * (show ? 1 : -1)
Expand Down

0 comments on commit 8bd7169

Please sign in to comment.