فهرست منبع

fix line-length warning

B. Petersen 5 سال پیش
والد
کامیت
b79ab68855
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      deltachat-ios/Controller/MailboxViewController.swift

+ 2 - 1
deltachat-ios/Controller/MailboxViewController.swift

@@ -47,7 +47,8 @@ class MailboxViewController: ChatViewController {
 
             let message = messageList[indexPath.section]
             let dcContact = message.fromContact
-            let alert = UIAlertController(title: String.localizedStringWithFormat(String.localized("ask_start_chat_with"), dcContact.nameNAddr), message: nil, preferredStyle: .actionSheet)
+            let title = String.localizedStringWithFormat(String.localized("ask_start_chat_with"), dcContact.nameNAddr)
+            let alert = UIAlertController(title: title, message: nil, preferredStyle: .actionSheet)
             alert.addAction(UIAlertAction(title: String.localized("start_chat"), style: .default, handler: { _ in
                 let chat = message.createChat()
                 self.coordinator?.showChat(chatId: chat.id)