Pārlūkot izejas kodu

set background color of deaddrop contentView explicitly

B. Petersen 5 gadi atpakaļ
vecāks
revīzija
3186c1d085
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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
     }