Skip to content

Commit

Permalink
Remove unnecessary indicator insets manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Domas Nutautas authored Jun 15, 2018
1 parent e7c76ef commit cfeb674
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/SlideOutable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ extension SlideOutable {

switch interaction(scrollView: scrollView) {
case .scroll:
scrollView.scrollIndicatorInsets.bottom = max(0, scrollView.frame.maxY - bounds.height)
scrollView.showsVerticalScrollIndicator = true
lastScrollOffset = scrollView.contentOffset.y
case .drag:
Expand Down

0 comments on commit cfeb674

Please sign in to comment.