Fix poi additional
This commit is contained in:
parent
a635717643
commit
9bbc7b0333
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ public class AppInitializer implements IProgress {
|
||||||
@Override
|
@Override
|
||||||
public String getTranslation(AbstractPoiType type) {
|
public String getTranslation(AbstractPoiType type) {
|
||||||
try {
|
try {
|
||||||
Field f = R.string.class.getField("poi_" + type.getKeyName());
|
Field f = R.string.class.getField("poi_" + type.getIconKeyName());
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
Integer in = (Integer) f.get(null);
|
Integer in = (Integer) f.get(null);
|
||||||
return app.getString(in);
|
return app.getString(in);
|
||||||
|
|
Loading…
Reference in a new issue