cyberta 3 年之前
父节点
当前提交
0fbdc3f873
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Controller/WebxdcViewController.swift

+ 1 - 1
deltachat-ios/Controller/WebxdcViewController.swift

@@ -78,7 +78,7 @@ class WebxdcViewController: WebViewViewController {
     private func getTitleFromWebxdcInfoJson() -> String {
         let jsonString = dcContext.getMessage(id: messageId).getWebxdcInfoJson()
         if let data: Data = jsonString.data(using: .utf8),
-           let infoJson = (try? JSONSerialization.jsonObject(with: data, options: [])) as? [String:AnyObject],
+           let infoJson = (try? JSONSerialization.jsonObject(with: data, options: [])) as? [String: AnyObject],
            let title = infoJson["name"] as? String {
             return title
         }