浏览代码

Merge pull request #1757 from rosano/rosano-patch-3

Fix crash on copy message with iOS 14.8
Rosano 2 年之前
父节点
当前提交
3038e5edf1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Chat/ChatViewController.swift

+ 1 - 1
deltachat-ios/Chat/ChatViewController.swift

@@ -2023,7 +2023,7 @@ class ChatViewController: UITableViewController, UITableViewDropDelegate {
 
     private func copyToClipboard(ids: [Int]) {
         let pasteboard = UIPasteboard.general
-        pasteboard.string = nil
+        pasteboard.string = ""
         var stringsToCopy = ""
 
         if ids.count > 1 {