unrelated swift fix

This commit is contained in:
Michael Kirk 2018-10-16 16:16:19 -06:00
parent 456b2c0830
commit 3a1769c81a

View file

@ -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