Skip to content

Commit 14bfc7e

Browse files
committed
fix: non-persistent scroll offset for comments page
ref: #491
1 parent 048895e commit 14bfc7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/youtube/youtube_miniplayer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ class YoutubeMiniPlayerState extends State<YoutubeMiniPlayer> {
796796
NamidaNavigator.inst.isInYTCommentsSubpage = true;
797797
NamidaNavigator.inst.ytMiniplayerCommentsPageKey.currentState?.pushPage(
798798
const YTMiniplayerCommentsSubpage(),
799-
maintainState: false,
799+
maintainState: true, // vip to maintain scroll offset
800800
);
801801
},
802802
child: Column(

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: namida
22
description: A Beautiful and Feature-rich Music Player, With YouTube & Video Support Built in Flutter
33
publish_to: "none"
4-
version: 4.9.8-beta+250208196
4+
version: 4.9.81-beta+250210180
55

66
environment:
77
sdk: ">=3.6.0 <4.0.0"

0 commit comments

Comments
 (0)