🐛 Fix player screen blur background overflow

This commit is contained in:
2025-12-17 00:00:09 +08:00
parent 8e9abbc364
commit f436a8a49b

View File

@@ -68,7 +68,7 @@ class PlayerScreen extends HookConsumerWidget {
}
},
loading: () => background = null,
error: (_, __) => background = null,
error: (_, _) => background = null,
);
return Focus(
@@ -93,7 +93,8 @@ class PlayerScreen extends HookConsumerWidget {
return KeyEventResult.ignored;
},
child: Scaffold(
body: Stack(
body: ClipRect(
child: Stack(
children: [
...background != null ? [background!] : [],
// Main content (StreamBuilder)
@@ -161,6 +162,7 @@ class PlayerScreen extends HookConsumerWidget {
],
),
),
),
);
},
);