Browse Source

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

Fix crash on copy message with iOS 14.8
Rosano 2 years ago
parent
commit
3038e5edf1
1 changed files with 1 additions and 1 deletions
  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]) {
     private func copyToClipboard(ids: [Int]) {
         let pasteboard = UIPasteboard.general
         let pasteboard = UIPasteboard.general
-        pasteboard.string = nil
+        pasteboard.string = ""
         var stringsToCopy = ""
         var stringsToCopy = ""
 
 
         if ids.count > 1 {
         if ids.count > 1 {