1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 19:36: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;
switch (navigationInfoSpec.nextAction) {
case NavigationInfoSpec.ACTION_CONTINUE:
iconname = "contine";
iconname = "continue";
break;
case NavigationInfoSpec.ACTION_TURN_LEFT:
iconname = "turn-left";
@ -363,8 +363,13 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
iconname = "uturn";
break;
case NavigationInfoSpec.ACTION_ROUNDABOUT_RIGHT:
iconname = "roundabout-right";
break;
case NavigationInfoSpec.ACTION_ROUNDABOUT_LEFT:
iconname = "roundabout";
iconname = "roundabout-left";
break;
case NavigationInfoSpec.ACTION_OFFROUTE:
iconname = "close";
break;
default:
iconname = "invalid";