fix OS TV target check (#211)

This commit is contained in:
Doron Pearl 2017-06-27 16:50:55 +03:00 committed by Alexey
parent ebd8247ca4
commit 10af4bac54
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
if ([self.blurType isEqual: @"light"]) return UIBlurEffectStyleLight;
if ([self.blurType isEqual: @"dark"]) return UIBlurEffectStyleDark;
#ifdef TARGET_OS_TV
#if TARGET_OS_TV
if ([self.blurType isEqual: @"extraDark"]) return UIBlurEffectStyleExtraDark;
if ([self.blurType isEqual: @"regular"]) return UIBlurEffectStyleRegular;
if ([self.blurType isEqual: @"prominent"]) return UIBlurEffectStyleProminent;