mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 04:18:31 +00:00
Prevent crashes when mentioning users on macOS (#2630)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
This commit is contained in:
@@ -27,7 +27,7 @@ protocol PillAttachmentViewProviderDelegate: AnyObject {
|
|||||||
func invalidateTextAttachmentsDisplay()
|
func invalidateTextAttachmentsDisplay()
|
||||||
}
|
}
|
||||||
|
|
||||||
final class PillAttachmentViewProvider: NSTextAttachmentViewProvider {
|
final class PillAttachmentViewProvider: NSTextAttachmentViewProvider, NSSecureCoding {
|
||||||
private weak var delegate: PillAttachmentViewProviderDelegate?
|
private weak var delegate: PillAttachmentViewProviderDelegate?
|
||||||
|
|
||||||
// MARK: - Override
|
// MARK: - Override
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Prevent crashes when mentioning users when running on the Mac
|
||||||
Reference in New Issue
Block a user