浏览代码

add 'troubleshooting' to menu

B. Petersen 2 年之前
父节点
当前提交
9c681670ac
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      deltachat-ios/Controller/BackupTransferViewController.swift

+ 5 - 0
deltachat-ios/Controller/BackupTransferViewController.swift

@@ -243,6 +243,11 @@ class BackupTransferViewController: UIViewController {
 
     @objc private func moreButtonPressed() {
         let alert = UIAlertController(title: nil, message: nil, preferredStyle: .safeActionSheet)
+        alert.addAction(UIAlertAction(title: String.localized("troubleshooting"), style: .default, handler: { _ in
+            if let url = URL(string: "https://delta.chat/en/help#multiclient") {
+                UIApplication.shared.open(url)
+            }
+        }))
         if !self.qrContentView.isHidden {
             alert.addAction(UIAlertAction(title: String.localized("menu_copy_to_clipboard"), style: .default, handler: { [weak self] _ in
                 guard let self = self else { return }