From 93f5689444c57534c5a2defb336ce6802c97e5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monili=20Nicol=C3=B2?= Date: Wed, 6 Oct 2021 11:41:27 +0200 Subject: [PATCH] fix(ios): selectedBackgroundGradient deprecation shown when not using it (#13092) Fixes TIMOB-28543 --- iphone/Classes/TiUITableViewRowProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Classes/TiUITableViewRowProxy.m b/iphone/Classes/TiUITableViewRowProxy.m index e934f0e9242..00eec238995 100644 --- a/iphone/Classes/TiUITableViewRowProxy.m +++ b/iphone/Classes/TiUITableViewRowProxy.m @@ -407,7 +407,7 @@ - (void)configureBackground:(UITableViewCell *)cell } [(TiUITableViewCell *)cell setBackgroundGradient_:[self valueForKey:@"backgroundGradient"]]; - if (IS_NULL_OR_NIL([self valueForKey:@"selectedBackgroundGradient"])) { + if (!IS_NULL_OR_NIL([self valueForKey:@"selectedBackgroundGradient"])) { [(TiUITableViewCell *)cell setSelectedBackgroundGradient_:[self valueForKey:@"selectedBackgroundGradient"]]; } [(TiUITableViewCell *)cell setBackgroundSelectedGradient_:[self valueForKey:@"backgroundSelectedGradient"]];