changeset 2678:24fb27a1e039

iOS: Make UITableViewCell backgrounds clear if not set explicitly. This allows the UITableView background color to show through for the correct display.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 22 Oct 2021 19:07:59 +0000
parents c90b2d7057c8
children fd223faa7690
files ios/dw.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ios/dw.m	Fri Oct 22 18:49:10 2021 +0000
+++ b/ios/dw.m	Fri Oct 22 19:07:59 2021 +0000
@@ -2203,11 +2203,15 @@
     {
         if(evencolor)
             [cell setBackgroundColor:evencolor];
+        else
+            [cell setBackgroundColor:[UIColor clearColor]];
     }
     else
     {
         if(oddcolor)
             [cell setBackgroundColor:oddcolor];
+        else
+            [cell setBackgroundColor:[UIColor clearColor]];
     }
 }
 -(UIContextMenuConfiguration *)tableView:(UITableView *)tableView contextMenuConfigurationForRowAtIndexPath:(NSIndexPath *)indexPath point:(CGPoint)point