🐛 Fix player screen blur background overflow
This commit is contained in:
@@ -68,7 +68,7 @@ class PlayerScreen extends HookConsumerWidget {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
loading: () => background = null,
|
loading: () => background = null,
|
||||||
error: (_, __) => background = null,
|
error: (_, _) => background = null,
|
||||||
);
|
);
|
||||||
|
|
||||||
return Focus(
|
return Focus(
|
||||||
@@ -93,7 +93,8 @@ class PlayerScreen extends HookConsumerWidget {
|
|||||||
return KeyEventResult.ignored;
|
return KeyEventResult.ignored;
|
||||||
},
|
},
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
body: Stack(
|
body: ClipRect(
|
||||||
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
...background != null ? [background!] : [],
|
...background != null ? [background!] : [],
|
||||||
// Main content (StreamBuilder)
|
// Main content (StreamBuilder)
|
||||||
@@ -161,6 +162,7 @@ class PlayerScreen extends HookConsumerWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user