Add hero animation to the remote folder gallery
This commit is contained in:
parent
2d14356792
commit
e7a1e93e90
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ class _RemoteFolderGalleryWidgetState extends State<RemoteFolderGalleryWidget> {
|
|||
child: folder.thumbnailPhoto ==
|
||||
null // When the user has shared a folder without photos
|
||||
? Icon(Icons.error)
|
||||
: ThumbnailWidget(folder.thumbnailPhoto),
|
||||
: Hero(
|
||||
tag: "remote_folder" + folder.thumbnailPhoto.tag(),
|
||||
child: ThumbnailWidget(folder.thumbnailPhoto)),
|
||||
height: 150,
|
||||
width: 150,
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue