TripDetailsActivity: Use typeface constant rather than just '0'.

This commit is contained in:
Andreas Schildbach 2019-10-26 21:01:06 +02:00
parent b028cbba38
commit 4239a8888c

View file

@ -766,10 +766,10 @@ public class TripDetailsActivity extends OeffiActivity implements LocationListen
stopNameView.setTypeface(null, Typeface.BOLD);
} else if (pearlType == PearlView.Type.PASSING) {
stopNameView.setTextColor(colorTextGhosted);
stopNameView.setTypeface(null, 0);
stopNameView.setTypeface(null, Typeface.NORMAL);
} else {
stopNameView.setTextColor(colorText);
stopNameView.setTypeface(null, 0);
stopNameView.setTypeface(null, Typeface.NORMAL);
}
if (stop.location.hasId())
stopNameView.setOnClickListener(new StopClickListener(stop));