pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
changeset 2445 735a8f3c685a
parent 2437 a62c9a9552ea
child 2458 1ea96e50273e
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Thu Jul 20 11:51:45 2017 +0200
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Thu Jul 20 12:45:31 2017 +0200
     1.3 @@ -399,7 +399,7 @@
     1.4              if let destiny = segue.destination as? FilterTableViewController {
     1.5                  destiny.filterDelegate = self.viewModel
     1.6                  destiny.inFolder = false
     1.7 -                destiny.filterEnabled = self.config?.folder?.filter as! Filter?
     1.8 +                destiny.filterEnabled = self.viewModel?.folderToShow?.filter
     1.9                  destiny.hidesBottomBarWhenPushed = true
    1.10              }
    1.11              break