pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
changeset 1506 11d3b3dd5865
parent 1438 a95b5815208d
child 1507 7270fb02923c
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Mon Jan 23 16:02:16 2017 +0100
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Tue Jan 24 10:01:42 2017 +0100
     1.3 @@ -151,7 +151,6 @@
     1.4              { (action, indexPath) in
     1.5                  if (cell.isImportant(message: message)) {
     1.6                      message.imapFlags?.flagged = false
     1.7 -
     1.8                  } else {
     1.9                      message.imapFlags?.flagged = true
    1.10                  }
    1.11 @@ -169,9 +168,7 @@
    1.12      }
    1.13  
    1.14      func createDeleteAction (_ cell: EmailListViewCell) -> UITableViewRowAction {
    1.15 -
    1.16          // preparing the title action to show when user swipe
    1.17 -
    1.18          let deleteCompletionHandler: (UITableViewRowAction, IndexPath) -> Void =
    1.19              { (action, indexPath) in
    1.20                  let message = cell.messageAt(indexPath: indexPath, config: self.config)