Skip to content

Commit

Permalink
Updating var to let for safeAreaTopInset and safeAreaBottomInset in h…
Browse files Browse the repository at this point in the history
…eightOfOpenDrawer
  • Loading branch information
ulmentflam committed Oct 5, 2018
1 parent 85cded7 commit 341476d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
/// The height of the open position for the drawer
private var heightOfOpenDrawer: CGFloat {

var safeAreaTopInset = pulleySafeAreaInsets.top
var safeAreaBottomInset = pulleySafeAreaInsets.bottom
let safeAreaTopInset = pulleySafeAreaInsets.top
let safeAreaBottomInset = pulleySafeAreaInsets.bottom

var height = self.view.bounds.height - safeAreaTopInset

Expand Down

0 comments on commit 341476d

Please sign in to comment.