mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-01-11 17:14:11 +00:00
fix OS TV target check (#211)
This commit is contained in:
parent
ebd8247ca4
commit
10af4bac54
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user