maybe fix duplicate key error

This commit is contained in:
mertalev 2024-11-16 22:26:22 -05:00
parent 937fb4e30e
commit 381fe5c2fd
No known key found for this signature in database
GPG Key ID: CA85EF6600C9E8AD

View File

@ -434,7 +434,7 @@ class NativeVideoViewerPage extends HookConsumerWidget {
final video = aspectRatio.value != null
? Center(
key: ValueKey(asset),
key: ValueKey(asset.id),
child: AspectRatio(
key: ValueKey(asset),
aspectRatio: aspectRatio.value!,