Parcourir la source

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

Fix crash on copy message with iOS 14.8
Rosano il y a 2 ans
Parent
commit
3038e5edf1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {