mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Fix preview not going away after quitting slideshow
This commit is contained in:
parent
588f58d063
commit
9bc4e7c97d
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ class _RemoteImageViewerState extends State<RemoteImageViewer> {
|
|||
}
|
||||
|
||||
void _animationListener(AnimationStatus status) {
|
||||
if (status == AnimationStatus.completed) {
|
||||
if (status == AnimationStatus.completed ||
|
||||
status == AnimationStatus.dismissed) {
|
||||
_isHeroDone = true;
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
|
|
Loading…
Reference in a new issue