fix typos
This commit is contained in:
parent
cb4067d727
commit
81bf9695a8
1 changed files with 23 additions and 23 deletions
|
@ -677,31 +677,31 @@ public class WaypointHelper {
|
|||
} else if(type == ALARMS) {
|
||||
//assign alarm list icons manually for now
|
||||
//attention, some list icons are only temporary test icons, not pixel perfect yet.
|
||||
if(((AlarmInfo) point).getType().toString()="SPEED_CAMERA") {
|
||||
if(((AlarmInfo) point).getType().toString() == "SPEED_CAMERA") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_highway_speed_camera);
|
||||
} else if(((AlarmInfo) point).getType().toString()="BORDER_CONTROL") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_barrier_border_control);
|
||||
} else if(((AlarmInfo) point).getType().toString()="RAILWAY") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "BORDER_CONTROL") {
|
||||
R.drawable.mx_barrier_border_control;
|
||||
} else if(((AlarmInfo) point).getType().toString() == "RAILWAY") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_railways_us);
|
||||
return R.drawable.list_warnings_railways_us;
|
||||
} else {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_railways);
|
||||
return R.drawable.list_warnings_railways;
|
||||
}
|
||||
} else if(((AlarmInfo) point).getType().toString()="TRAFFIC_CALMING") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "TRAFFIC_CALMING") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_traffic_calming_us);
|
||||
return R.drawable.list_traffic_calming_us;
|
||||
} else {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_traffic_calming);
|
||||
return R.drawable.list_traffic_calming;
|
||||
}
|
||||
} else if(((AlarmInfo) point).getType().toString()="TOLL_BOOTH") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_barrier_toll_booth);
|
||||
} else if(((AlarmInfo) point).getType().toString()="STOP") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_stop);
|
||||
} else if(((AlarmInfo) point).getType().toString()="PEDESTRIAN") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "TOLL_BOOTH") {
|
||||
return R.drawable.mx_barrier_toll_booth;
|
||||
} else if(((AlarmInfo) point).getType().toString() == "STOP") {
|
||||
return R.drawable.list_stop;
|
||||
} else if(((AlarmInfo) point).getType().toString() == "PEDESTRIAN") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_pedestrian_us);
|
||||
return R.drawable.list_warnings_pedestrian_us;
|
||||
} else {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_pedestrian);
|
||||
return R.drawable.list_warnings_pedestrian;
|
||||
}
|
||||
} else {
|
||||
return 0;
|
||||
|
@ -733,27 +733,27 @@ public class WaypointHelper {
|
|||
} else if(type == ALARMS) {
|
||||
//assign alarm list icons manually for now
|
||||
//attention, some list icons are only temporary test icons, not pixel perfect yet.
|
||||
if(((AlarmInfo) point).getType().toString()="SPEED_CAMERA") {
|
||||
if(((AlarmInfo) point).getType().toString() == "SPEED_CAMERA") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_highway_speed_camera);
|
||||
} else if(((AlarmInfo) point).getType().toString()="BORDER_CONTROL") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "BORDER_CONTROL") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_barrier_border_control);
|
||||
} else if(((AlarmInfo) point).getType().toString()="RAILWAY") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "RAILWAY") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_railways_us);
|
||||
} else {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_railways);
|
||||
}
|
||||
} else if(((AlarmInfo) point).getType().toString()="TRAFFIC_CALMING") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "TRAFFIC_CALMING") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_traffic_calming_us);
|
||||
} else {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_traffic_calming);
|
||||
}
|
||||
} else if(((AlarmInfo) point).getType().toString()="TOLL_BOOTH") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "TOLL_BOOTH") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.mx_barrier_toll_booth);
|
||||
} else if(((AlarmInfo) point).getType().toString()="STOP") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "STOP") {
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_stop);
|
||||
} else if(((AlarmInfo) point).getType().toString()="PEDESTRIAN") {
|
||||
} else if(((AlarmInfo) point).getType().toString() == "PEDESTRIAN") {
|
||||
if(app.getSettings.DRIVING_REGION.get().americanSigns){
|
||||
return uiCtx.getResources().getDrawable(R.drawable.list_warnings_pedestrian_us);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue