Skip to content

Commit

Permalink
Fix image viewer close transition (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
micahmo authored Mar 15, 2024
1 parent f9e9fac commit 137fe40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/shared/media_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class _MediaViewState extends State<MediaView> with SingleTickerProviderStateMix
PageRouteBuilder(
opaque: false,
transitionDuration: const Duration(milliseconds: 100),
reverseTransitionDuration: const Duration(milliseconds: 100),
transitionsBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) {
return FadeTransition(opacity: animation, child: child);
},
Expand Down

0 comments on commit 137fe40

Please sign in to comment.