mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -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)
|
private void drawColumnHeader(Canvas canvas, Rect location, GregorianCalendar date)
|
||||||
{
|
{
|
||||||
GregorianCalendar forwardDate = (GregorianCalendar) date.clone();
|
String month = dfMonth.format(date.getTime());
|
||||||
forwardDate.add(Calendar.DAY_OF_YEAR, 6);
|
String year = dfYear.format(date.getTime());
|
||||||
|
|
||||||
String month = dfMonth.format(forwardDate.getTime());
|
|
||||||
String year = dfYear.format(forwardDate.getTime());
|
|
||||||
|
|
||||||
String text = null;
|
String text = null;
|
||||||
if (!month.equals(previousMonth))
|
if (!month.equals(previousMonth))
|
||||||
|
|||||||
Reference in New Issue
Block a user