mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Fix Doug's remarks
This commit is contained in:
@@ -96,11 +96,11 @@ class ThreadViewController: RoomViewController {
|
||||
}
|
||||
|
||||
private func copyPermalink() {
|
||||
guard let permalink = permalink else {
|
||||
guard let permalink = permalink, let url = URL(string: permalink) else {
|
||||
return
|
||||
}
|
||||
|
||||
MXKPasteboardManager.shared.pasteboard.string = permalink
|
||||
MXKPasteboardManager.shared.pasteboard.url = url
|
||||
view.vc_toast(message: VectorL10n.roomEventCopyLinkInfo,
|
||||
image: Asset.Images.linkIcon.image)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user