fix: 跳转回播放页黑屏

This commit is contained in:
orz12
2024-02-26 08:18:01 +08:00
parent bcf71e559a
commit eaccf335c7

View File

@@ -813,7 +813,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
return OrientationBuilder( return OrientationBuilder(
builder: (BuildContext context, Orientation orientation) { builder: (BuildContext context, Orientation orientation) {
if (!isShowing) { if (!isShowing) {
return const SizedBox(); return ColoredBox(color: Theme.of(context).colorScheme.background);
} }
if (orientation == Orientation.landscape) { if (orientation == Orientation.landscape) {
if (!horizontalScreen) { if (!horizontalScreen) {