This commit is contained in:
Trey t
2022-02-18 18:58:38 -06:00
parent 065b7bcac1
commit 1cf38cb854
16 changed files with 501 additions and 176 deletions

View File

@@ -15,6 +15,7 @@ enum Mood: Int {
case good
case great
case missing
case placeholder
var strValue: String {
switch self {
@@ -30,6 +31,8 @@ enum Mood: Int {
return String(localized: "mood_value_great")
case .missing:
return String(localized: "mood_value_missing")
case .placeholder:
return String("placeholder")
}
}
@@ -47,6 +50,8 @@ enum Mood: Int {
return .green
case .missing:
return Color(uiColor: UIColor.systemGray2)
case .placeholder:
return .clear
}
}
@@ -69,6 +74,8 @@ enum Mood: Int {
return Image("great", bundle: .main)
case .missing:
return Image("missing", bundle: .main)
case .placeholder:
return Image("missing", bundle: .main)
}
}
@@ -87,6 +94,8 @@ enum Mood: Int {
return Image("GreatGraphic", bundle: .main)
case .missing:
return Image("MissingGraphic", bundle: .main)
case .placeholder:
return Image("MissingGraphic", bundle: .main)
}
}
}