Skip to content

Commit

Permalink
fix revert schedule page view
Browse files Browse the repository at this point in the history
  • Loading branch information
smart7even committed Sep 3, 2024
1 parent cde949c commit 19c84c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/feature/schedule/widget/schedule_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SchedulePage extends StatefulWidget {
/// State for widget SchedulePage
class _SchedulePageState extends State<SchedulePage>
with WidgetsBindingObserver {
static const initialPageIndex = 0;
static const initialPageIndex = 4242;

final controller = PageController(
initialPage: initialPageIndex,
Expand Down Expand Up @@ -609,7 +609,6 @@ class _SchedulePageState extends State<SchedulePage>
),
body: PageView.builder(
controller: controller,
itemCount: 52,
scrollDirection: Axis.horizontal,
onPageChanged: (int newIndex) => onPageChanged(context, newIndex, week),
itemBuilder: (context, index) {
Expand Down

0 comments on commit 19c84c1

Please sign in to comment.