pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
branchIOS-700-sluggish-ui
changeset 3224 44f27d1daf68
parent 3223 a4074df71ddd
child 3226 9295883a4519
equal deleted inserted replaced
3223:a4074df71ddd 3224:44f27d1daf68
    11 
    11 
    12 class EmailListViewController: BaseTableViewController {
    12 class EmailListViewController: BaseTableViewController {
    13     var folderToShow: Folder?
    13     var folderToShow: Folder?
    14 
    14 
    15     func updateLastLookAt() {
    15     func updateLastLookAt() {
    16         guard let saveFolder = model?.folderToShow else {
    16         guard let saveFolder = folderToShow else {
    17             return
    17             return
    18         }
    18         }
    19         saveFolder.updateLastLookAt()
    19         saveFolder.updateLastLookAt()
    20     }
    20     }
    21     
    21     
   136     }
   136     }
   137     
   137     
   138     // MARK: - Other
   138     // MARK: - Other
   139     
   139     
   140     private func realNameOfFolderToShow() -> String? {
   140     private func realNameOfFolderToShow() -> String? {
   141         return model?.folderToShow?.realName
   141         return folderToShow?.realName
   142     }
   142     }
   143     
   143     
   144     private func configure(cell: EmailListViewCell, for indexPath: IndexPath) {
   144     private func configure(cell: EmailListViewCell, for indexPath: IndexPath) {
   145         // Configure lightweight stuff on main thread ...
   145         // Configure lightweight stuff on main thread ...
   146         guard let saveModel = model else {
   146         guard let saveModel = model else {