mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-20 14:26:48 +01:00
for appkeys with index 0 it was assumed they were not found becaus JSONObject.getOpt() returns 0 if not found. Use the getOpt() method variant with a fallback parameter instead and set that to -1 fixes the problem. (Also fixes a missing debug output) Fixes #419