maybe fix duplicate key error
This commit is contained in:
@@ -434,7 +434,7 @@ class NativeVideoViewerPage extends HookConsumerWidget {
|
|||||||
|
|
||||||
final video = aspectRatio.value != null
|
final video = aspectRatio.value != null
|
||||||
? Center(
|
? Center(
|
||||||
key: ValueKey(asset),
|
key: ValueKey(asset.id),
|
||||||
child: AspectRatio(
|
child: AspectRatio(
|
||||||
key: ValueKey(asset),
|
key: ValueKey(asset),
|
||||||
aspectRatio: aspectRatio.value!,
|
aspectRatio: aspectRatio.value!,
|
||||||
|
|||||||
Reference in New Issue
Block a user