pEpForiOS/UI/Folder/ViewModel/FolderCellViewModel.swift
changeset 2191 a01eb69e9664
parent 2045 01b83254d3de
child 2664 874827a49c0f
     1.1 --- a/pEpForiOS/UI/Folder/ViewModel/FolderCellViewModel.swift	Mon May 22 18:39:45 2017 +0200
     1.2 +++ b/pEpForiOS/UI/Folder/ViewModel/FolderCellViewModel.swift	Tue May 23 11:32:32 2017 +0200
     1.3 @@ -10,16 +10,18 @@
     1.4  import MessageModel
     1.5  
     1.6  public class FolderCellViewModel {
     1.7 -
     1.8      public var icon: UIImage {
     1.9          return self.folder.folderType.getIconType()
    1.10      }
    1.11 +
    1.12      public var title : String {
    1.13          return self.name
    1.14      }
    1.15 +
    1.16      public var number: Int {
    1.17          return 0 //fake number
    1.18      }
    1.19 +
    1.20      public var arrow: UIImage {
    1.21          return UIImage(named: "arrow_down_icon")!
    1.22      }
    1.23 @@ -43,5 +45,4 @@
    1.24      var leftPadding: Int {
    1.25          return level
    1.26      }
    1.27 -    
    1.28  }