IOS-1495 swipe action stored before veing executed IOS-1521+IOS-1495
authorXavier Algarra <xavier@pep-project.org>
Fri, 17 May 2019 12:46:32 +0200
branchIOS-1521+IOS-1495
changeset 8665eedb3a924587
parent 8664 cd35355e45b6
child 8673 42db1617ee4c
IOS-1495 swipe action stored before veing executed
pEpForiOS/UI/EmailDisplayList/EmailListViewController.swift
     1.1 --- a/pEpForiOS/UI/EmailDisplayList/EmailListViewController.swift	Fri May 17 12:44:32 2019 +0200
     1.2 +++ b/pEpForiOS/UI/EmailDisplayList/EmailListViewController.swift	Fri May 17 12:46:32 2019 +0200
     1.3 @@ -540,8 +540,9 @@
     1.4                                  Log.shared.errorAndCrash("Lost MySelf")
     1.5                                  return
     1.6                              }
     1.7 +                            me.swipeDelete = action
     1.8                              me.deleteAction(forCellAt: indexPath)
     1.9 -                            me.swipeDelete = action
    1.10 +
    1.11          }
    1.12          configure(action: archiveAction, with: destructiveAction)
    1.13          swipeActions.append(archiveAction)