1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

Bangle.js:actTrk: curly brace to scope cases

This commit is contained in:
Ganblejs 2024-03-13 00:59:54 +01:00 committed by José Rebelo
parent 571410ff4b
commit 1e2ea97391

View File

@ -562,14 +562,14 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
case "act":
handleActivity(json);
break;
case "actTrksList":
case "actTrksList": {
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
uartTxJSON("requestActivityTrackLog", requestTrackObj);
break;
case "actTrk":
requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
} break;
case "actTrk": {
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
break;
} break;
case "http":
handleHttp(json);
break;