removed hero for videos
This commit is contained in:
parent
a83b7a186b
commit
97f5f41579
1 changed files with 1 additions and 4 deletions
|
@ -50,10 +50,7 @@ class ImagePageState extends State<ImagePage> with AutomaticKeepAliveClientMixin
|
|||
)
|
||||
: SizedBox(),
|
||||
childSize: MediaQuery.of(galleryContext).size,
|
||||
heroAttributes: PhotoViewHeroAttributes(
|
||||
tag: entry.uri,
|
||||
transitionOnUserGestures: true,
|
||||
),
|
||||
// no hero as most videos fullscreen image is different from its thumbnail
|
||||
minScale: PhotoViewComputedScale.contained,
|
||||
initialScale: PhotoViewComputedScale.contained,
|
||||
onTapUp: (tapContext, details, value) => widget.onTap?.call(),
|
||||
|
|
Loading…
Reference in a new issue