浏览代码

fix POI label

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

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

@@ -66,7 +66,7 @@ class MapViewController: WebxdcViewController {
         }
 
         let msg = dcContext.newMessage(viewType: DC_MSG_TEXT)
-        msg.text = payload["text"] as? String ?? "ErrText"
+        msg.text = payload["label"] as? String ?? "ErrLabel"
         msg.setLocation(lat: payload["lat"] as? Double ?? 0.0, lng: payload["lng"] as? Double ?? 0.0)
         return dcContext.sendMessage(chatId: chatId == 0 ? dcContext.createChatByContactId(contactId: Int(DC_CONTACT_ID_SELF)) : chatId, message: msg) != 0
     }