<NME> DateSeparatorCell.swift
<BEF> //
//  DateSeparatorCell.swift
//  Rocket.Chat
//
//  Created by Rafael Streit on 26/09/18.
//  Copyright © 2018 Rocket.Chat. All rights reserved.
//

import UIKit
import RocketChatViewController

final class DateSeparatorCell: UICollectionViewCell, ChatCell, SizingCell {
    static let identifier = String(describing: DateSeparatorCell.self)

    static let sizingCell: UICollectionViewCell & ChatCell = {
        guard let cell = DateSeparatorCell.instantiateFromNib() else {
            return DateSeparatorCell()
        }

        return cell
    }()

    @IBOutlet weak var leftLine: UIView!

    @IBOutlet weak var date: UILabel! {
        didSet {
            date.font = date.font.bold()
        }
    }

    @IBOutlet weak var rightLine: UIView!

    var messageWidth: CGFloat = 0
    var viewModel: AnyChatItem?

    func configure(completeRendering: Bool) {
        guard
            completeRendering,
            let viewModel = viewModel?.base as? DateSeparatorChatItem
        else {
            return
        }

        date.text = viewModel.dateFormatted
    }

    override func prepareForReuse() {
        super.prepareForReuse()
        date.text = ""

        let theme = self.theme ?? .light
        date.textColor = theme.auxiliaryText
        leftLine.backgroundColor = theme == .light ? theme.auxiliaryBackground : theme.controlText
        rightLine.backgroundColor = theme == .light ? theme.auxiliaryBackground : theme.controlText
    }

}
        super.applyTheme()

        let theme = self.theme ?? .light
        date.textColor = theme.auxiliaryText
        leftLine.backgroundColor = theme.borderColor
        rightLine.backgroundColor = theme.borderColor
    }

}

<MSG> Update side line colors

<DFF> @@ -50,8 +50,8 @@ extension DateSeparatorCell {
 
         let theme = self.theme ?? .light
         date.textColor = theme.auxiliaryText
-        leftLine.backgroundColor = theme == .light ? theme.auxiliaryBackground : theme.controlText
-        rightLine.backgroundColor = theme == .light ? theme.auxiliaryBackground : theme.controlText
+        leftLine.backgroundColor = theme.auxiliaryText
+        rightLine.backgroundColor = theme.auxiliaryText
     }
 
 }

{'addition_count': 2, 'commit_subject': 'Update side line colors', 'deletion_count': 2, 'file_extension': '.swift', 'lang': 'Chat/Views/Chat/New Chat/Cells/DateSeparatorCell', 'license': 'mit', 'repo_name': 'RocketChat/Rocket.Chat.iOS'}