From 5a067f2933db04fa0006f152c804d2ab891c061f Mon Sep 17 00:00:00 2001 From: Sergey Dmitriev <51058739+0niel@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:04:53 +0300 Subject: [PATCH] fix: Update PageView state after schedule update --- lib/presentation/pages/schedule/widgets/schedule_page_view.dart | 1 - pubspec.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/presentation/pages/schedule/widgets/schedule_page_view.dart b/lib/presentation/pages/schedule/widgets/schedule_page_view.dart index 5375b8a0..d9c89635 100644 --- a/lib/presentation/pages/schedule/widgets/schedule_page_view.dart +++ b/lib/presentation/pages/schedule/widgets/schedule_page_view.dart @@ -193,7 +193,6 @@ class _SchedulePageViewState extends State { Widget _buildPageView() { return PageView.builder( - key: const PageStorageKey('pageView'), controller: _controller, onPageChanged: (value) { setState(() { diff --git a/pubspec.yaml b/pubspec.yaml index 5371a2b6..899b808e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,7 +12,7 @@ publish_to: 'none' # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.3.7+31 +version: 1.3.8+34 environment: sdk: ">=3.1.1"