From 9e72ef1274a0abc05d3ddbcc1f3c53990ee775b6 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 19 Mar 2024 10:51:38 +0000 Subject: [PATCH] ios 0.18: Fix UTF8 conversion (check for `font` library, not `fonts`) --- apps/ios/ChangeLog | 3 ++- apps/ios/boot.js | 2 +- apps/ios/metadata.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/ios/ChangeLog b/apps/ios/ChangeLog index 86ce9ff4e..904ad1f7d 100644 --- a/apps/ios/ChangeLog +++ b/apps/ios/ChangeLog @@ -15,4 +15,5 @@ Allow negative/positive actions to pass through to message GUI 0.15: Enable calendar and weather updates via custom notifications (via shortcuts app) 0.16: Always request Current Time service from iOS -0.17: Default to passing full UTF8 strings into messages app (which can now process them with an international font) \ No newline at end of file +0.17: Default to passing full UTF8 strings into messages app (which can now process them with an international font) +0.18: Fix UTF8 conversion (check for `font` library, not `fonts`) \ No newline at end of file diff --git a/apps/ios/boot.js b/apps/ios/boot.js index dd0cca511..fe9cde77d 100644 --- a/apps/ios/boot.js +++ b/apps/ios/boot.js @@ -298,7 +298,7 @@ E.emit("ANCS", { NRF.ctsGetTime().then(ctsUpdate, function(){ /* */ }) E.on('CTS',ctsUpdate); } - if (settings.no_utf8 || !require("Storage").read("fonts")) { + if (settings.no_utf8 || !require("Storage").read("font")) { // if UTF8 disabled or there is no fonts lib, convert UTF8 to ISO8859-1 let unicodeRemap = { '2019':"'", diff --git a/apps/ios/metadata.json b/apps/ios/metadata.json index c3427d3b8..6efcac15e 100644 --- a/apps/ios/metadata.json +++ b/apps/ios/metadata.json @@ -1,7 +1,7 @@ { "id": "ios", "name": "iOS Integration", - "version": "0.17", + "version": "0.18", "description": "Display notifications/music/etc from iOS devices", "icon": "app.png", "tags": "tool,system,ios,apple,messages,notifications",