pass correct number of strings

This commit is contained in:
Roumen Georgiev 2019-12-09 15:07:56 +02:00
parent 7889e3755d
commit 70842b269f

View file

@ -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