1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-17 10:30:03 +02: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 3cca17d0bb
commit 102a5e7cd6

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";