Skip to content

Commit

Permalink
fix tvOS target
Browse files Browse the repository at this point in the history
  • Loading branch information
lkzhao committed Feb 16, 2017
1 parent fafd41a commit 2c0ea64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/HeroBaseController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ internal extension HeroBaseController {
HeroDefaultAnimator<HeroCoreAnimationViewContext>()
]

if #available(iOS 10, *) {
if #available(iOS 10, tvOS 10, *) {
animators.append(HeroDefaultAnimator<HeroViewPropertyViewContext>())
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/HeroViewPropertyViewContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import UIKit

@available(iOS 10, *)
@available(iOS 10, tvOS 10, *)
internal class HeroViewPropertyViewContext: HeroAnimatorViewContext {

var viewPropertyAnimator: UIViewPropertyAnimator?
Expand Down

0 comments on commit 2c0ea64

Please sign in to comment.