Browse Source

make sure also VideoInviteCells are shown with transparent background as previews

cyberta 3 năm trước cách đây
mục cha
commit
b5b1354be0

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

@@ -1552,7 +1552,7 @@ class ChatViewController: UITableViewController {
         guard let index = messageIds.firstIndex(of: messageId.integerValue) else { return nil }
         guard let index = messageIds.firstIndex(of: messageId.integerValue) else { return nil }
         let indexPath = IndexPath(row: index, section: 0)
         let indexPath = IndexPath(row: index, section: 0)
 
 
-        guard let cell = tableView.cellForRow(at: indexPath) as? BaseMessageCell else { return nil }
+        guard let cell = tableView.cellForRow(at: indexPath) else { return nil }
 
 
         // clear background, so that background image is still visible
         // clear background, so that background image is still visible
         let parameters = UIPreviewParameters()
         let parameters = UIPreviewParameters()