Merge pull request #9712 from osmandapp/import_addresses_wrong_assigned
Fix #9676
This commit is contained in:
commit
f5548b9c73
1 changed files with 1 additions and 3 deletions
|
@ -1025,9 +1025,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment implemen
|
|||
name.setText(model.getDisplayName(app), TextView.BufferType.SPANNABLE);
|
||||
name.setTypeface(Typeface.DEFAULT, visible ? Typeface.NORMAL : Typeface.ITALIC);
|
||||
name.setTextColor(getResources().getColor(visible ? enabledColor : disabledColor));
|
||||
if (model.isAddressSpecified()) {
|
||||
addressText.setText(model.getAddress());
|
||||
}
|
||||
addressText.setText(model.isAddressSpecified() ? model.getAddress() : null);
|
||||
int color = visible
|
||||
? app.getFavorites().getColorWithCategory(model, getResources().getColor(R.color.color_favorite))
|
||||
: ContextCompat.getColor(app, disabledIconColor);
|
||||
|
|
Loading…
Reference in a new issue