Browse Source

minor formatting change

cyberta 3 years ago
parent
commit
bf9459cad7
1 changed files with 1 additions and 3 deletions
  1. 1 3
      deltachat-ios/Chat/ChatViewController.swift

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

@@ -505,9 +505,7 @@ class ChatViewController: UITableViewController {
             guard let self = self else { return }
             if let ui = notification.userInfo {
                 let dcChat = self.dcContext.getChat(chatId: self.chatId)
-                if dcChat.canSend,
-                    let id = ui["message_id"] as? Int,
-                    id > 0 {
+                if dcChat.canSend, let id = ui["message_id"] as? Int, id > 0 {
                     self.updateMessage(id)
                 } else {
                     self.refreshMessages()