Pārlūkot izejas kodu

use same font color in VideoInviteCell as in system messages

cyberta 3 gadi atpakaļ
vecāks
revīzija
42a5778fe6

+ 3 - 1
deltachat-ios/Chat/Views/Cells/VideoInviteCell.swift

@@ -27,7 +27,7 @@ public class VideoInviteCell: UITableViewCell {
         view.translatesAutoresizingMaskIntoConstraints = false
         view.translatesAutoresizingMaskIntoConstraints = false
         view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
         view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
         view.setImage(#imageLiteral(resourceName: "ic_videochat").withRenderingMode(.alwaysTemplate))
         view.setImage(#imageLiteral(resourceName: "ic_videochat").withRenderingMode(.alwaysTemplate))
-        view.tintColor = DcColors.defaultInverseColor
+        view.tintColor = .white
         view.imagePadding = 3
         view.imagePadding = 3
         return view
         return view
     }()
     }()
@@ -39,6 +39,7 @@ public class VideoInviteCell: UITableViewCell {
         label.lineBreakMode = .byWordWrapping
         label.lineBreakMode = .byWordWrapping
         label.textAlignment = .center
         label.textAlignment = .center
         label.font = UIFont.preferredFont(for: .body, weight: .regular)
         label.font = UIFont.preferredFont(for: .body, weight: .regular)
+        label.textColor = DcColors.systemMessageFontColor
         return label
         return label
     }()
     }()
 
 
@@ -49,6 +50,7 @@ public class VideoInviteCell: UITableViewCell {
         label.lineBreakMode = .byWordWrapping
         label.lineBreakMode = .byWordWrapping
         label.textAlignment = .center
         label.textAlignment = .center
         label.font = UIFont.preferredFont(for: .body, weight: .bold)
         label.font = UIFont.preferredFont(for: .body, weight: .bold)
+        label.textColor = DcColors.systemMessageFontColor
         return label
         return label
     }()
     }()