mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 14:32:54 +01:00
Bangle.js: fix mixup of navigation left slight&sharp icons
This commit is contained in:
parent
c6ebfc4900
commit
0e0f72410a
@ -1557,7 +1557,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||||||
o.put("instr", navigationInfoSpec.instruction);
|
o.put("instr", navigationInfoSpec.instruction);
|
||||||
o.put("distance", navigationInfoSpec.distanceToTurn);
|
o.put("distance", navigationInfoSpec.distanceToTurn);
|
||||||
String[] navActions = {
|
String[] navActions = {
|
||||||
"","continue", "left", "left_sharp", "left_slight", "right", "right_slight",
|
"","continue", "left", "left_slight", "left_sharp", "right", "right_slight",
|
||||||
"right_sharp", "keep_left", "keep_right", "uturn_left", "uturn_right",
|
"right_sharp", "keep_left", "keep_right", "uturn_left", "uturn_right",
|
||||||
"offroute", "roundabout_right", "roundabout_left", "roundabout_straight", "roundabout_uturn", "finish"};
|
"offroute", "roundabout_right", "roundabout_left", "roundabout_straight", "roundabout_uturn", "finish"};
|
||||||
if (navigationInfoSpec.nextAction>0 && navigationInfoSpec.nextAction<navActions.length)
|
if (navigationInfoSpec.nextAction>0 && navigationInfoSpec.nextAction<navActions.length)
|
||||||
|
Loading…
Reference in New Issue
Block a user