浏览代码

pass qr-code strings to core (as qr code images are generated in core now) (#1403)

bjoern 3 年之前
父节点
当前提交
8331141eba
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deltachat-ios/AppDelegate.swift

+ 2 - 0
deltachat-ios/AppDelegate.swift

@@ -599,6 +599,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         dcContext.setStockTranslation(id: DC_STR_PART_OF_TOTAL_USED, localizationKey: "part_of_total_used")
         dcContext.setStockTranslation(id: DC_STR_SECURE_JOIN_STARTED, localizationKey: "secure_join_started")
         dcContext.setStockTranslation(id: DC_STR_SECURE_JOIN_REPLIES, localizationKey: "secure_join_replies")
+        dcContext.setStockTranslation(id: DC_STR_SETUP_CONTACT_QR_DESC, localizationKey: "qrshow_join_contact_hint")
+        dcContext.setStockTranslation(id: DC_STR_SECURE_JOIN_GROUP_QR_DESC, localizationKey: "qrshow_join_group_hint")
     }
 
     func appIsInForeground() -> Bool {