Browse Source

fixed merge conflict manually

nayooti 5 years ago
parent
commit
fb54bf0262

+ 0 - 8
deltachat-ios/View/AvatarTextCell.swift

@@ -26,11 +26,7 @@ class AvatarTextCell: UITableViewCell {
         label.font = UIFont.systemFont(ofSize: 16, weight: .medium)
         label.lineBreakMode = .byTruncatingTail
         label.textColor = DcColors.defaultTextColor
-<<<<<<< HEAD:deltachat-ios/View/ContactCell.swift
         label.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 1), for: NSLayoutConstraint.Axis.horizontal)
-        // label.makeBorder()
-=======
->>>>>>> renamed contactCell into AvatarTextCell:deltachat-ios/View/AvatarTextCell.swift
         return label
     }()
 
@@ -47,11 +43,7 @@ class AvatarTextCell: UITableViewCell {
         label.font = UIFont.systemFont(ofSize: 14)
         label.textColor = UIColor(hexString: "848ba7")
         label.textAlignment = .right
-<<<<<<< HEAD
         label.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 2), for: NSLayoutConstraint.Axis.horizontal)
-        // label.makeBorder()
-=======
->>>>>>> avatar now updated for contact cell on search
         return label
     }()
 

+ 1 - 0
deltachat-ios/ViewModel/AvatarCellViewModel.swift

@@ -67,6 +67,7 @@ class ChatCellViewModel: AvatarCellViewModel{
     var title: String {
         return chat.name
     }
+
     var subtitle: String {
         let result1 = summary.text1 ?? ""
         let result2 = summary.text2 ?? ""