1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

Fixed typo in "continue" turn and added roundabout left,right and offroute turns

This commit is contained in:
Ernst 2022-03-31 20:57:53 +02:00 committed by Andreas Shimokawa
parent 9ccd898d42
commit 56e1efaa3d

View File

@ -332,7 +332,7 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
String iconname; String iconname;
switch (navigationInfoSpec.nextAction) { switch (navigationInfoSpec.nextAction) {
case NavigationInfoSpec.ACTION_CONTINUE: case NavigationInfoSpec.ACTION_CONTINUE:
iconname = "contine"; iconname = "continue";
break; break;
case NavigationInfoSpec.ACTION_TURN_LEFT: case NavigationInfoSpec.ACTION_TURN_LEFT:
iconname = "turn-left"; iconname = "turn-left";
@ -363,8 +363,13 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
iconname = "uturn"; iconname = "uturn";
break; break;
case NavigationInfoSpec.ACTION_ROUNDABOUT_RIGHT: case NavigationInfoSpec.ACTION_ROUNDABOUT_RIGHT:
iconname = "roundabout-right";
break;
case NavigationInfoSpec.ACTION_ROUNDABOUT_LEFT: case NavigationInfoSpec.ACTION_ROUNDABOUT_LEFT:
iconname = "roundabout"; iconname = "roundabout-left";
break;
case NavigationInfoSpec.ACTION_OFFROUTE:
iconname = "close";
break; break;
default: default:
iconname = "invalid"; iconname = "invalid";