Преглед на файлове

back to left-to-right swipe :)

cyberta преди 4 години
родител
ревизия
84257bf74f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      deltachat-ios/Chat/ChatViewController.swift

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

@@ -420,7 +420,7 @@ class ChatViewController: UITableViewController {
         messageInputBar.setStackViewItems([quotePreview], forStack: .top, animated: true)
     }
 
-    override func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
+    override func tableView(_ tableView: UITableView, leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
         let action = UIContextualAction(style: .normal, title: nil,
                                         handler: { (_, _, completionHandler) in
                                             let message = DcMsg(id: self.messageIds[indexPath.row])