Parcourir la source

set background color of deaddrop contentView explicitly

B. Petersen il y a 5 ans
Parent
commit
3186c1d085
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      deltachat-ios/Controller/ChatListController.swift

+ 2 - 1
deltachat-ios/Controller/ChatListController.swift

@@ -272,7 +272,8 @@ extension ChatListController: UITableViewDataSource, UITableViewDelegate {
         } else {
             deaddropCell = ContactCell(style: .default, reuseIdentifier: "DeaddropCell")
         }
-        deaddropCell.backgroundColor = DcColors.deaddropBackground // TODO: why is the color not changed in darkmode?
+        deaddropCell.backgroundColor = DcColors.deaddropBackground
+        deaddropCell.contentView.backgroundColor = DcColors.deaddropBackground
         return deaddropCell
     }