Fix bug
This commit is contained in:
parent
a8b37cd0ac
commit
5ea11283cd
1 changed files with 2 additions and 0 deletions
|
@ -1151,6 +1151,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
|
||||||
icon.setVisibility(View.INVISIBLE);
|
icon.setVisibility(View.INVISIBLE);
|
||||||
label.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
label.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
||||||
label.setText(model.getVisibleName());
|
label.setText(model.getVisibleName());
|
||||||
|
labelTime.setText("");
|
||||||
} else if (location == null || mapLocation == null) {
|
} else if (location == null || mapLocation == null) {
|
||||||
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||||
icon.setVisibility(View.VISIBLE);
|
icon.setVisibility(View.VISIBLE);
|
||||||
|
@ -1163,6 +1164,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
|
||||||
draw.setColor(model.isEnabled() ? activeColor : color);
|
draw.setColor(model.isEnabled() ? activeColor : color);
|
||||||
icon.setImageDrawable(draw);
|
icon.setImageDrawable(draw);
|
||||||
label.setText(model.getVisibleName());
|
label.setText(model.getVisibleName());
|
||||||
|
labelTime.setText("");
|
||||||
} else {
|
} else {
|
||||||
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||||
icon.setVisibility(View.VISIBLE);
|
icon.setVisibility(View.VISIBLE);
|
||||||
|
|
Loading…
Reference in a new issue