Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-25 18:02:36 +08:00
parent e707764f84
commit 2bdab71138
14 changed files with 81 additions and 64 deletions

View File

@@ -96,7 +96,7 @@ class _IntroDetailState extends State<PgcIntroPanel>
Widget buildList(ThemeData theme) {
return TabBarView<TabBarDragGestureRecognizer>(
controller: _tabController,
physics: const CustomTabBarViewScrollPhysics(),
physics: clampingScrollPhysics,
horizontalDragGestureRecognizer: () =>
TabBarDragGestureRecognizer(isDxAllowed: isDxAllowed),
children: [

View File

@@ -335,9 +335,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
height: 100,
child: PageView(
key: const PageStorageKey(_PayCoinsPageState),
physics: const CustomTabBarViewScrollPhysics(
parent: ClampingScrollPhysics(),
),
physics: clampingScrollPhysics,
controller: _controller,
onPageChanged: (index) {
_scale();

View File

@@ -863,7 +863,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
children: [
buildTabBar(onTap: videoDetailController.animToTop),
Expanded(
child: videoTabBarView(
child: tabBarView(
controller: videoDetailController.tabCtr,
children: [
videoIntro(
@@ -932,7 +932,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
children: [
buildTabBar(),
Expanded(
child: videoTabBarView(
child: tabBarView(
controller: videoDetailController.tabCtr,
children: [
videoIntro(
@@ -1000,7 +1000,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
children: [
buildTabBar(showIntro: false),
Expanded(
child: videoTabBarView(
child: tabBarView(
controller: videoDetailController.tabCtr,
children: [
if (videoDetailController.showReply)
@@ -1080,7 +1080,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
: showIntro,
),
Expanded(
child: videoTabBarView(
child: tabBarView(
controller: videoDetailController.tabCtr,
children: [
if (videoDetailController.isFileSource)