Fix displaying headers
This commit is contained in:
parent
3380abede2
commit
a6bffe42d6
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class MapMarkersHistoryAdapter extends RecyclerView.Adapter<RecyclerView.
|
|||
dateString = app.getString(R.string.last_seven_days);
|
||||
} else if (dateHeader == THIS_YEAR_HEADER) {
|
||||
dateString = app.getString(R.string.this_year);
|
||||
} else if (dateHeader % 100 == 0) {
|
||||
} else if (dateHeader / 100 == 0) {
|
||||
dateString = getMonth(dateHeader);
|
||||
} else {
|
||||
dateString = String.valueOf(dateHeader);
|
||||
|
|
Loading…
Reference in a new issue