ソースを参照

add option to 'not now' to contact request

B. Petersen 5 年 前
コミット
5e46c10eee
1 ファイル変更3 行追加0 行削除
  1. 3 0
      deltachat-ios/Controller/ChatListController.swift

+ 3 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -182,6 +182,9 @@ extension ChatListController: UITableViewDataSource, UITableViewDelegate {
                 let chat = dcMsg.createChat()
                 self.coordinator?.showChat(chatId: chat.id)
             }))
+            alert.addAction(UIAlertAction(title: String.localized("not_now"), style: .default, handler: { _ in
+                dcContact.marknoticed()
+            }))
             alert.addAction(UIAlertAction(title: String.localized("cancel"), style: .cancel))
             present(alert, animated: true, completion: nil)
         } else if chatId==DC_CHAT_ID_ARCHIVED_LINK {