Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(map in info): change animation duration

ashilkn4c0e4ab92af8
diff --git a/lib/ui/viewer/file_details/location_tags_widget.dart b/lib/ui/viewer/file_details/location_tags_widget.dart
index c022da385d..cfe1b630a1 100644
--- a/lib/ui/viewer/file_details/location_tags_widget.dart
+++ b/lib/ui/viewer/file_details/location_tags_widget.dart
@@ -320,7 +320,7 @@ class _InfoMapState extends State<InfoMap> {
),
).animate(target: _tappedToOpenMap ? 1 : 0).scaleXY(
end: 1.025,
- duration: const Duration(milliseconds: 250),
+ duration: const Duration(milliseconds: 220),
curve: Curves.easeInOut,
);
}
@@ -329,7 +329,6 @@ class _InfoMapState extends State<InfoMap> {
setState(() {
_tappedToOpenMap = true;
});
-
unawaited(
Navigator.of(context)
.push(