mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 新增播放页默认展示评论区设置
This commit is contained in:
@@ -110,7 +110,10 @@ class VideoDetailController extends GetxController
|
||||
videoItem['pic'] = argMap['pic'];
|
||||
}
|
||||
}
|
||||
tabCtr = TabController(length: 2, vsync: this);
|
||||
bool defaultShowComment =
|
||||
setting.get(SettingBoxKey.defaultShowComment, defaultValue: false);
|
||||
tabCtr = TabController(
|
||||
length: 2, vsync: this, initialIndex: defaultShowComment ? 1 : 0);
|
||||
autoPlay.value =
|
||||
setting.get(SettingBoxKey.autoPlayEnable, defaultValue: true);
|
||||
enableHA.value = setting.get(SettingBoxKey.enableHA, defaultValue: true);
|
||||
|
||||
Reference in New Issue
Block a user