change a bunch of shit to get importing / adding new vote have the right weekday

This commit is contained in:
Trey t
2022-04-05 22:33:12 -05:00
parent dec8f2d84d
commit 6fa4e2db26
17 changed files with 141 additions and 190 deletions

View File

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

View File

@@ -160,9 +160,9 @@ final class DefaultMoodTint: MoodTintable {
case .great:
return Color(hex: "31d158")
case .missing:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.systemGray2)
case .placeholder:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.systemGray2)
}
}
@@ -179,9 +179,9 @@ final class DefaultMoodTint: MoodTintable {
case .great:
return Color(hex: "208939")
case .missing:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.label)
case .placeholder:
return Color(uiColor: UIColor.lightGray)
return Color(uiColor: UIColor.label)
}
}
}
@@ -322,7 +322,7 @@ final class PastelTint: MoodTintable {
case .missing:
return Color(uiColor: UIColor.systemGray2)
case .placeholder:
return Color(uiColor: UIColor.systemGray4)
return Color(uiColor: UIColor.systemGray2)
}
}
@@ -339,9 +339,9 @@ final class PastelTint: MoodTintable {
case .great:
return Color(hex: "#6b7e6d")
case .missing:
return Color(uiColor: UIColor.systemGray2)
return Color(uiColor: UIColor.label)
case .placeholder:
return Color(uiColor: UIColor.systemGray4)
return Color(uiColor: UIColor.label)
}
}
}