mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: video tabbar length
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1156,7 +1156,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
bool showReply = true,
|
||||
}) {
|
||||
int length = (showIntro ? 1 : 0) + (showReply ? 1 : 0);
|
||||
if (length != 0 && videoDetailController.tabCtr.length != length) {
|
||||
if (videoDetailController.tabCtr.length != length) {
|
||||
videoDetailController.tabCtr = TabController(length: length, vsync: this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user