Fix plugin icons

This commit is contained in:
Vitaliy 2020-04-21 13:30:43 +03:00
parent bc15dcb8b1
commit bc5dbc1270

View file

@ -354,8 +354,6 @@ public class CustomOsmandPlugin extends OsmandPlugin {
public void readDependentFilesFromJson(JSONObject json) throws JSONException {
rendererNames = jsonArrayToList("rendererNames", json);
routerNames = jsonArrayToList("routerNames", json);
iconNames = getLocalizedMapFromJson("iconNames", json);
imageNames = getLocalizedMapFromJson("imageNames", json);
resourceDirName = json.optString("pluginResDir");
}
@ -363,9 +361,6 @@ public class CustomOsmandPlugin extends OsmandPlugin {
writeStringListToJson("rendererNames", json, rendererNames);
writeStringListToJson("routerNames", json, routerNames);
writeLocalizedMapToJson("iconNames", json, iconNames);
writeLocalizedMapToJson("imageNames", json, imageNames);
json.put("pluginResDir", resourceDirName);
}