🐛 Fix player screen blur background overflow
This commit is contained in:
@@ -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 {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user