Address are not shown after importing file, but they contains in file.
This commit is contained in:
parent
bb65803201
commit
ff5cc15a24
2 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment implemen
|
|||
|
||||
@Override
|
||||
public void onFavoriteDataUpdated(@NonNull FavouritePoint favouritePoint) {
|
||||
favouritesAdapter.notifyDataSetChanged();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1221,6 +1221,7 @@ public class ImportHelper {
|
|||
if (p.desc != null) {
|
||||
fp.setDescription(p.desc);
|
||||
}
|
||||
fp.setAddress(p.getExtensionsToRead().get("address"));
|
||||
fp.setColor(p.getColor(0));
|
||||
fp.setIconIdFromName(app, p.getIconName());
|
||||
fp.setBackgroundType(BackgroundType.getByTypeName(p.getBackgroundType(), DEFAULT_BACKGROUND_TYPE));
|
||||
|
|
Loading…
Reference in a new issue