fix: 全屏切换合集视频标题未更新
This commit is contained in:
@ -83,7 +83,6 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
|
|
||||||
/// 设置面板
|
/// 设置面板
|
||||||
void showSettingSheet() {
|
void showSettingSheet() {
|
||||||
// Scaffold.of(context).openDrawer();
|
|
||||||
showModalBottomSheet(
|
showModalBottomSheet(
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
context: context,
|
context: context,
|
||||||
@ -732,9 +731,12 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
margin: const EdgeInsets.all(12),
|
margin: const EdgeInsets.all(12),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
const SizedBox(
|
||||||
height: 45,
|
height: 45,
|
||||||
child: Center(child: Text('选择解码格式', style: titleStyle))),
|
child: Center(
|
||||||
|
child: Text('选择解码格式', style: titleStyle),
|
||||||
|
),
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Material(
|
child: Material(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
@ -1079,9 +1081,12 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
margin: const EdgeInsets.all(12),
|
margin: const EdgeInsets.all(12),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
const SizedBox(
|
||||||
height: 45,
|
height: 45,
|
||||||
child: Center(child: Text('选择播放顺序', style: titleStyle))),
|
child: Center(
|
||||||
|
child: Text('选择播放顺序', style: titleStyle),
|
||||||
|
),
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Material(
|
child: Material(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
@ -1166,11 +1171,13 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
children: [
|
children: [
|
||||||
ConstrainedBox(
|
ConstrainedBox(
|
||||||
constraints: const BoxConstraints(maxWidth: 200),
|
constraints: const BoxConstraints(maxWidth: 200),
|
||||||
child: Text(
|
child: Obx(
|
||||||
videoIntroController.videoDetail.value.title ?? '',
|
() => Text(
|
||||||
style: const TextStyle(
|
videoIntroController.videoDetail.value.title ?? '',
|
||||||
color: Colors.white,
|
style: const TextStyle(
|
||||||
fontSize: 16,
|
color: Colors.white,
|
||||||
|
fontSize: 16,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user