forked from Cutlery/immich
fix(mobile): video player shows black screen (#6819)
fix(mobile): video player show black screen
This commit is contained in:
parent
07466fa7b7
commit
7a6ec8b0b5
@ -180,4 +180,4 @@ SPEC CHECKSUMS:
|
|||||||
|
|
||||||
PODFILE CHECKSUM: 64c9b5291666c0ca3caabdfe9865c141ac40321d
|
PODFILE CHECKSUM: 64c9b5291666c0ca3caabdfe9865c141ac40321d
|
||||||
|
|
||||||
COCOAPODS: 1.12.1
|
COCOAPODS: 1.11.3
|
||||||
|
@ -202,6 +202,8 @@ class _VideoPlayerState extends State<VideoPlayer> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if (chewieController?.videoPlayerController.value.isInitialized == true) {
|
if (chewieController?.videoPlayerController.value.isInitialized == true) {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
|
height: context.height,
|
||||||
|
width: context.width,
|
||||||
child: Chewie(
|
child: Chewie(
|
||||||
controller: chewieController!,
|
controller: chewieController!,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user