mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: fs
related #306 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -584,7 +584,10 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
!isFullScreen &&
|
||||
isShowing &&
|
||||
mounted) {
|
||||
if (!removeSafeArea) showStatusBar();
|
||||
if (videoDetailController.imageStatus.not &&
|
||||
removeSafeArea.not) {
|
||||
showStatusBar();
|
||||
}
|
||||
}
|
||||
return Container(
|
||||
color: Colors.black,
|
||||
@@ -1228,9 +1231,8 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
videoDetailController.tabCtr = TabController(
|
||||
vsync: this,
|
||||
length: tabs.length,
|
||||
initialIndex: tabs.length > videoDetailController.tabCtr.length
|
||||
? videoDetailController.tabCtr.index
|
||||
: 0,
|
||||
initialIndex:
|
||||
videoDetailController.tabCtr.index.clamp(0, tabs.length - 1),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user