IOS-2008 makeup IOS-2008
authorXavier Algarra <xavier@pep-project.org>
Mon, 02 Mar 2020 02:48:09 +0100
branchIOS-2008
changeset 12010f0d5f115b6a4
parent 12005 289604e2fe57
child 12011 5666af38c256
IOS-2008 makeup
Submodules/pEpIOSToolbox/pEpIOSToolbox/UIKit/UiSplitViewController+DisplayMode.swift
pEpForiOS/UI/EmailDisplay/EmailDisplayList/EmailListViewController.swift
     1.1 --- a/Submodules/pEpIOSToolbox/pEpIOSToolbox/UIKit/UiSplitViewController+DisplayMode.swift	Fri Feb 28 16:25:35 2020 +0100
     1.2 +++ b/Submodules/pEpIOSToolbox/pEpIOSToolbox/UIKit/UiSplitViewController+DisplayMode.swift	Mon Mar 02 02:48:09 2020 +0100
     1.3 @@ -19,11 +19,9 @@
     1.4          if let selfsplit = self as? UISplitViewController {
     1.5              return selfsplit.currentDisplayMode
     1.6          }
     1.7 -
     1.8          guard let splitview = splitViewController else {
     1.9              return .onlyMaster
    1.10          }
    1.11 -        
    1.12          return splitview.currentDisplayMode
    1.13      }
    1.14  
     2.1 --- a/pEpForiOS/UI/EmailDisplay/EmailDisplayList/EmailListViewController.swift	Fri Feb 28 16:25:35 2020 +0100
     2.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailDisplayList/EmailListViewController.swift	Mon Mar 02 02:48:09 2020 +0100
     2.3 @@ -774,15 +774,6 @@
     2.4  
     2.5  extension EmailListViewController: EmailListViewModelDelegate {
     2.6  
     2.7 -    func checkIfSplitNeedsUpdate(indexpath: [IndexPath]) {
     2.8 -        guard let last = lastSelectedIndexPath else {
     2.9 -            return
    2.10 -        }
    2.11 -        if !onlySplitViewMasterIsShown && indexpath.contains(last) {
    2.12 -            showEmail(forCellAt: last)
    2.13 -        }
    2.14 -    }
    2.15 -
    2.16      func reloadData(viewModel: EmailDisplayViewModel) {
    2.17          tableView.reloadData()
    2.18      }