Skip to content

Commit af26492

Browse files
authored
Merge pull request #423 from SimformSolutionsPvtLtd/fix/issue_410_update_week_view_hours
fix: Fixes issue #410: 🐛 Fix `startHour` and `endHour` rebuild issue in WeekView
2 parents 912bd73 + 525415e commit af26492

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Fixes right icon always shows default icon in `CalendarPageHeader` when providing custom icon. [#432](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/432)
66
- Adds `hideDaysNotInMonth` argument in `cellBuilder` in readme. [#433](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/433)
77
- Fixes `titleColor` of date for `hideDaysNotInMonth: false`.
8+
- Fixes `startHour` and `endHour` not updating when rebuilding in week view. [#410](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/410)
89
- Fixes issue of header icon `color` property in `IconDataConfig`.
910

1011
# [1.3.0 - 12 Nov 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.3.0)

lib/src/week_view/week_view.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
468468
}
469469

470470
_eventArranger = widget.eventArranger ?? SideEventArranger<T>();
471+
_startHour = widget.startHour;
472+
_endHour = widget.endHour;
471473

472474
// Update heights.
473475
_calculateHeights();

0 commit comments

Comments
 (0)