Added new holiday emoticons

Added donation emoticons for New Year's and Valentine's Day
This commit is contained in:
amarcu5
2018-12-30 22:00:31 +00:00
parent 650fb14d14
commit 36b063b99b
5 changed files with 5 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleVersion</key>
<string>193</string>
<string>194</string>
<key>Developer Identifier</key>
<string>BQ6Q24MF9X</string>
<key>URL</key>
+4
View File
@@ -149,6 +149,10 @@ class DonationManager {
let emoticons = Array({
() -> String in
switch Calendar.current.dateComponents([.month, .weekdayOrdinal, .weekday, .day], from: Date()) {
case let date where date.month == 1 && date.day == 1: // New Years
return "🕛🥂🍾🎊"
case let date where date.month == 2 && date.day == 14: // Valentine's Day
return "🥀🌹💋💘"
case let date where date.month == 10 && date.day == 31: // Halloween
return "💀👻🧙‍♀️🎃"
case let date where date.month == 11 && date.weekdayOrdinal == 4 && date.weekday == 5: // Thanksgiving