Skip to content

Commit

Permalink
fix(ios): selectedBackgroundGradient deprecation shown when not using…
Browse files Browse the repository at this point in the history
… it (#13092)

Fixes TIMOB-28543
  • Loading branch information
nicolomonili committed Oct 6, 2021
1 parent 08933ca commit 93f5689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/TiUITableViewRowProxy.m
Expand Up @@ -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"]];
Expand Down

0 comments on commit 93f5689

Please sign in to comment.