mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Draw month name on the following column.
This reverts commit f9377e17. See #55 for reason.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user