mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
unrelated swift fix
This commit is contained in:
parent
456b2c0830
commit
3a1769c81a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue