Skip to content

Commit

Permalink
Update flutter_calendar_carousel.dart
Browse files Browse the repository at this point in the history
Issue Resolved : hyochan#181
  • Loading branch information
sagarzala123 authored Nov 13, 2019
1 parent dd7690a commit b3422d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/flutter_calendar_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -774,9 +774,9 @@ class _CalendarState<T extends EventInterface> extends State<CalendarCarousel<T>
}

_startWeekday = date[currentDateIndex].weekday - firstDayOfWeek;
if (widget.showOnlyCurrentMonthDate) {
/*if (widget.showOnlyCurrentMonthDate) {
_startWeekday--;
}
}*/
if (widget.showOnlyCurrentMonthDate && _startWeekday == 7) {
_startWeekday = 0;
}
Expand Down

0 comments on commit b3422d4

Please sign in to comment.