Skip to content

armgit / ente

Public Imported from GitHub
0

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

remove widgets added for debugging + minor change to animation

ashilkn37de9d97eb61
diff --git a/lib/ui/home/memories/full_screen_memory_new.dart b/lib/ui/home/memories/full_screen_memory_new.dart
index af1842b776..970703e850 100644
--- a/lib/ui/home/memories/full_screen_memory_new.dart
+++ b/lib/ui/home/memories/full_screen_memory_new.dart
@@ -253,16 +253,6 @@ class _FullScreenMemoryNewState extends State<FullScreenMemoryNew> {
),
const BottomGradient(),
BottomIcons(index),
- Padding(
- padding: const EdgeInsets.only(bottom: 120, right: 240),
- child: Container(
- color: Colors.black,
- child: Text(
- inheritedData.memories[index].file.generatedID
- .toString(),
- ),
- ),
- ),
],
);
},
@@ -283,8 +273,8 @@ class _FullScreenMemoryNewState extends State<FullScreenMemoryNew> {
builder: (context, value, _) {
return AnimatedSwitcher(
duration: const Duration(milliseconds: 250),
- switchInCurve: Curves.easeIn,
- switchOutCurve: Curves.easeOut,
+ switchInCurve: Curves.easeOut,
+ switchOutCurve: Curves.easeIn,
child: value
? Hero(
tag: widget.title,
@@ -328,12 +318,7 @@ class BottomIcons extends StatelessWidget {
},
),
];
- rowChildren.add(
- Padding(
- padding: const EdgeInsets.all(8),
- child: Text(currentFile.generatedID.toString()),
- ),
- );
+
if (currentFile.ownerID == null ||
(Configuration.instance.getUserID() ?? 0) == currentFile.ownerID) {
rowChildren.addAll([