Skip to content

Commit

Permalink
fix: Fixes issue #410: Changing startHour and endHour doesn't upd…
Browse files Browse the repository at this point in the history
…ate WeekView
  • Loading branch information
shubham-jitiya-simform committed Dec 4, 2024
1 parent c89a7b2 commit f17ab4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/week_view/week_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ class WeekViewState<T extends Object?> extends State<WeekView<T>> {
}

_eventArranger = widget.eventArranger ?? SideEventArranger<T>();
_startHour = widget.startHour;
_endHour = widget.endHour;

// Update heights.
_calculateHeights();
Expand Down

0 comments on commit f17ab4e

Please sign in to comment.