Draw month name on the following column.

This reverts commit f9377e17. See #55 for reason.
This commit is contained in:
2016-03-26 08:57:18 -04:00
parent d14fbbd130
commit b4c2d2237a

View File

@@ -308,11 +308,8 @@ public class HabitHistoryView extends ScrollableDataView implements HabitDataVie
private void drawColumnHeader(Canvas canvas, Rect location, GregorianCalendar date)
{
GregorianCalendar forwardDate = (GregorianCalendar) date.clone();
forwardDate.add(Calendar.DAY_OF_YEAR, 6);
String month = dfMonth.format(forwardDate.getTime());
String year = dfYear.format(forwardDate.getTime());
String month = dfMonth.format(date.getTime());
String year = dfYear.format(date.getTime());
String text = null;
if (!month.equals(previousMonth))