Skip to content

Commit

Permalink
Remove unused immutable value
Browse files Browse the repository at this point in the history
zelic91 committed Dec 21, 2016
1 parent 5679fb2 commit 753a637
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Pod/Classes/ZAlertView.swift
Original file line number Diff line number Diff line change
@@ -569,7 +569,6 @@ import UIKit

func keyboardDidShow(_ notification: Notification) {
if let keyboardSize = (notification.userInfo?[UIKeyboardFrameBeginUserInfoKey] as? NSValue)?.cgRectValue {
let keyboardHeight = keyboardSize.height
self.oldFrame = self.alertView.frame
let extraHeight = (oldFrame.size.height + oldFrame.origin.y) - (self.view.frame.size.height - keyboardSize.height)
if extraHeight > 0 {

0 comments on commit 753a637

Please sign in to comment.