mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +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) {
|
void _animationListener(AnimationStatus status) {
|
||||||
if (status == AnimationStatus.completed) {
|
if (status == AnimationStatus.completed ||
|
||||||
|
status == AnimationStatus.dismissed) {
|
||||||
_isHeroDone = true;
|
_isHeroDone = true;
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
setState(() {});
|
setState(() {});
|
||||||
|
|
Loading…
Reference in a new issue