fix missing color and update icon

This commit is contained in:
Trey t
2022-03-03 10:05:11 -06:00
parent c83697cfb2
commit f5966a57b3
2 changed files with 6 additions and 6 deletions

View File

@@ -75,9 +75,9 @@ final class EmojiMoodImages: MoodImagable {
case .great:
return Image(uiImage: "😀".textToImage()!)
case .missing:
return Image(uiImage: "X".textToImage()!)
return Image("missing", bundle: .main)
case .placeholder:
return Image(uiImage: "X".textToImage()!)
return Image("missing", bundle: .main)
}
}
}
@@ -96,9 +96,9 @@ final class HandEmojiMoodImages: MoodImagable {
case .great:
return Image(uiImage: "🙏".textToImage()!)
case .missing:
return Image(uiImage: "X".textToImage()!)
return Image("missing", bundle: .main)
case .placeholder:
return Image(uiImage: "X".textToImage()!)
return Image("missing", bundle: .main)
}
}
}

View File

@@ -133,9 +133,9 @@ final class CustomMoodTint: MoodTintable {
case .great:
return UserDefaultsStore.getCustomMoodTint().colorOne.darker(by: 40)
case .missing:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.lightGray).darker(by: 40)
case .placeholder:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.lightGray).darker(by: 40)
}
}
}