pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
changeset 1696 a95b55a243a3
parent 1694 898bb5eaa391
child 1718 b3c04048bce9
equal deleted inserted replaced
1695:ef7a38c36ac2 1696:a95b55a243a3
   117         }
   117         }
   118         return cell
   118         return cell
   119     }
   119     }
   120 
   120 
   121     // MARK: - UITableViewDelegate
   121     // MARK: - UITableViewDelegate
   122 
       
   123     override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
       
   124         let _ = tableView.cellForRow(at: indexPath) as! EmailListViewCell
       
   125 
       
   126         if let fol = config?.folder {
       
   127             if fol.folderType == .drafts {
       
   128                 //performSegue(withIdentifier: .segueCompose, sender: cell)
       
   129                 return
       
   130             }
       
   131         }
       
   132         //performSegue(withIdentifier: .segueShowEmail, sender: cell)
       
   133     }
       
   134 
   122 
   135     override func tableView(_ tableView: UITableView, editActionsForRowAt
   123     override func tableView(_ tableView: UITableView, editActionsForRowAt
   136         indexPath: IndexPath)-> [UITableViewRowAction]? {
   124         indexPath: IndexPath)-> [UITableViewRowAction]? {
   137 
   125 
   138         let cell = tableView.cellForRow(at: indexPath) as! EmailListViewCell
   126         let cell = tableView.cellForRow(at: indexPath) as! EmailListViewCell