Browse Source

fix POI label

B. Petersen 2 năm trước cách đây
mục cha
commit
092a6ce716
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
     }