Fix the hero tag in videos
This commit is contained in:
parent
cd32098360
commit
46ea30c4fd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class _VideoWidgetState extends State<VideoWidget> {
|
|||
? _getVideoPlayer()
|
||||
: _getLoadingWidget();
|
||||
return Hero(
|
||||
tag: widget.file.generatedId.toString(),
|
||||
tag: widget.file.heroTag(),
|
||||
child: content,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue