Forráskód Böngészése

add 'troubleshooting' to menu

B. Petersen 2 éve
szülő
commit
9c681670ac

+ 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 }