Skip to content

Commit

Permalink
Fix flashing content on iOS 13.
Browse files Browse the repository at this point in the history
When panning down to dismiss the photo picker and panning back up before releasing to cancel dismissing it, the whole content flashes. This happens because `viewWillAppear` is called. We don’t need to call `reloadData`.
  • Loading branch information
ocollet committed Oct 9, 2019
1 parent bc35cc9 commit 19517ed
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ class UnsplashPhotoPickerViewController: UIViewController {

if dataSource.items.count == 0 {
refresh()
} else {
reloadData()
}
}

Expand Down

0 comments on commit 19517ed

Please sign in to comment.