feat: show happy birthday (MESSENGER-6570)

This commit is contained in:
Frank Rotermund
2024-10-28 13:57:15 +01:00
parent 2252384eac
commit a499c35e96
9 changed files with 80 additions and 282 deletions
@@ -286,7 +286,7 @@ class RiotSharedSettings: NSObject {
guard let birthdayCampaignDict = notificationsDict["should_show_ios_birthday_campaign"] as? [String : Any] else {
return true
}
return (birthdayCampaignDict["2022"] as? Bool) ?? true
return (birthdayCampaignDict[campaign] as? Bool) ?? true
}
@discardableResult