Merge pull request #9418 from osmandapp/Fix_#6380

Fix #6380 Change icon (After review)
This commit is contained in:
Vitaliy 2020-07-09 12:54:09 +03:00 committed by GitHub
commit 01dbe5f76a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -473,7 +473,7 @@ public class QuickSearchListAdapter extends ArrayAdapter<QuickSearchListItem> {
ContextCompat.getColor(app, colorClosed));
int colorId = rs.isOpenedForTime(Calendar.getInstance()) ? colorOpen : colorClosed;
timeLayout.setVisibility(View.VISIBLE);
timeIcon.setImageDrawable(app.getUIUtilities().getIcon(R.drawable.ic_action_time_16, colorId));
timeIcon.setImageDrawable(app.getUIUtilities().getIcon(R.drawable.ic_action_opening_hour_16, colorId));
timeText.setText(openHours);
} else {
timeLayout.setVisibility(View.GONE);