1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15: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": case "act":
handleActivity(json); handleActivity(json);
break; break;
case "actTrksList": case "actTrksList": {
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext()); JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
uartTxJSON("requestActivityTrackLog", requestTrackObj); uartTxJSON("requestActivityTrackLog", requestTrackObj);
break; } break;
case "actTrk": case "actTrk": {
requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext()); JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj); if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
break; } break;
case "http": case "http":
handleHttp(json); handleHttp(json);
break; break;