Disable animations when reduce motion enabled (#1167)

This commit is contained in:
Bas Broek
2017-12-11 00:15:44 +01:00
committed by Ryan Nystrom
parent 6d5fc23180
commit 7f04139794
45 changed files with 110 additions and 103 deletions

View File

@@ -89,7 +89,7 @@ final class RepositoryCodeBlobViewController: UIViewController {
let activityController = UIActivityViewController(activityItems: [payload], applicationActivities: nil)
activityController.popoverPresentationController?.barButtonItem = sender
present(activityController, animated: true)
present(activityController, animated: trueUnlessReduceMotionEnabled)
}
func fetch() {