pass correct number of strings
This commit is contained in:
parent
7889e3755d
commit
70842b269f
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ public class TriggerLocation extends Trigger {
|
||||||
latitude.setValue(location.getLatitude());
|
latitude.setValue(location.getLatitude());
|
||||||
longitude.setValue(location.getLongitude());
|
longitude.setValue(location.getLongitude());
|
||||||
log.debug(String.format("Grabbed location: %f %f", latitude.getValue(), longitude.getValue()));
|
log.debug(String.format("Grabbed location: %f %f", latitude.getValue(), longitude.getValue()));
|
||||||
|
log.debug("Location service:" +location.toString());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -139,7 +140,7 @@ public class TriggerLocation extends Trigger {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String friendlyDescription() {
|
public String friendlyDescription() {
|
||||||
return MainApp.gs(R.string.locationis, MainApp.gs(modeSelected.getValue().getStringRes()) + " " + name.getValue());
|
return MainApp.gs(R.string.locationis, MainApp.gs(modeSelected.getValue().getStringRes()), " " + name.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue