diff --git a/Signal/src/environment/ExperienceUpgrades/ExperienceUpgrade.swift b/Signal/src/environment/ExperienceUpgrades/ExperienceUpgrade.swift index 531f3c560..c7c6130f9 100644 --- a/Signal/src/environment/ExperienceUpgrades/ExperienceUpgrade.swift +++ b/Signal/src/environment/ExperienceUpgrades/ExperienceUpgrade.swift @@ -18,6 +18,17 @@ import SignalMessaging super.init(uniqueId: uniqueId) } + @objc + public override init() { + // This is the unfortunate seam between strict swift and fast-and-loose objc + // we can't leave these properties nil, since we really "don't know" that the superclass + // will assign them. + self.title = "New Feature" + self.body = "Bug fixes and performance improvements." + self.image = nil + super.init() + } + @objc public override required init(uniqueId: String?) { // This is the unfortunate seam between strict swift and fast-and-loose objc // we can't leave these properties nil, since we really "don't know" that the superclass