浏览代码

correct whitespace

B. Petersen 5 年之前
父节点
当前提交
4dc48fb63e
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      deltachat-ios/Helper/MediaPicker.swift

+ 4 - 4
deltachat-ios/Helper/MediaPicker.swift

@@ -170,10 +170,10 @@ extension MediaPicker: UIImagePickerControllerDelegate {
                 self.delegate?.onVideoSelected(url: (url as NSURL))
             } else if let error = error {
                 logger.error(error.localizedDescription)
-            let alert = UIAlertController(title: String.localized("error"), message: nil, preferredStyle: .alert)
-            alert.addAction(UIAlertAction(title: String.localized("ok"), style: .cancel, handler: { _ in
-                self.navigationController?.dismiss(animated: true, completion: nil)
-            }))
+                let alert = UIAlertController(title: String.localized("error"), message: nil, preferredStyle: .alert)
+                alert.addAction(UIAlertAction(title: String.localized("ok"), style: .cancel, handler: { _ in
+                    self.navigationController?.dismiss(animated: true, completion: nil)
+                }))
                 self.navigationController?.present(alert, animated: true, completion: nil)
             }
         })