Created
November 10, 2020 12:14
-
-
Save mkeremkeskin/942bd424aca882d0cbd84dd22c4835b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum FilterType: String, BaseSelectionType { | |
case colorDocument | |
case blackAndWhite | |
case colorPhoto | |
case greyscale | |
var getDisplayText: String { | |
switch self { | |
case .colorDocument: | |
return Localizable.filterColorDocument | |
case .blackAndWhite: | |
return Localizable.filterBlackAndWhite | |
case .colorPhoto: | |
return Localizable.filterColorPhoto | |
case .greyscale: | |
return Localizable.filterGreyscale | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment