🐛 Bug fixes on live stream post

This commit is contained in:
2025-04-07 00:49:43 +08:00
parent ce3d19fb7b
commit cb0986efee
2 changed files with 9 additions and 14 deletions

View File

@ -1118,8 +1118,6 @@ class _PostVideoEditor extends StatefulWidget {
}
class _PostVideoEditorState extends State<_PostVideoEditor> {
String? _renderer;
final TextEditingController _streamUrlController = TextEditingController();
void _selectVideo() async {
@ -1296,15 +1294,6 @@ class _PostVideoEditorState extends State<_PostVideoEditor> {
onChanged: (value) =>
widget.controller.setVideoLive(value ?? false),
),
CheckboxListTile(
secondary: const Icon(Symbols.web),
title: Text('postVideoRendererWeb').tr(),
subtitle: Text('postVideoRendererWebDescription').tr(),
value: _renderer == 'web',
onChanged: (value) => setState(
() => _renderer = (value ?? false) ? 'web' : null,
),
),
],
),
),