1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(mobile): video player shows black screen (#6819)

fix(mobile): video player show black screen
This commit is contained in:
Alex 2024-01-31 16:38:32 -06:00 committed by GitHub
parent 07466fa7b7
commit 7a6ec8b0b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -180,4 +180,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 64c9b5291666c0ca3caabdfe9865c141ac40321d
COCOAPODS: 1.12.1
COCOAPODS: 1.11.3

View File

@ -202,6 +202,8 @@ class _VideoPlayerState extends State<VideoPlayer> {
Widget build(BuildContext context) {
if (chewieController?.videoPlayerController.value.isInitialized == true) {
return SizedBox(
height: context.height,
width: context.width,
child: Chewie(
controller: chewieController!,
),