mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 14:32:54 +01:00
Bangle.js: Put JSON keys in quotes
this allows the watch to work with gadgetbridge while 'programmable' is set to off
This commit is contained in:
parent
e3bc3742a8
commit
0ae14fb80a
@ -435,7 +435,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
} catch (JSONException e) {
|
||||
LOG.warn("jsonToString object error: " + e.getLocalizedMessage());
|
||||
}
|
||||
json += key+":"+jsonToStringInternal(o);
|
||||
json += "\""+key+"\":"+jsonToStringInternal(o);
|
||||
if (iter.hasNext()) json+=",";
|
||||
}
|
||||
return json+"}";
|
||||
|
Loading…
Reference in New Issue
Block a user