π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove backup on memories widget
laurenspriem45ef2b697678
diff --git a/mobile/lib/ui/home/memories/memory_cover_widget.dart b/mobile/lib/ui/home/memories/memory_cover_widget.dartindex 5e5b9c96a2..747b8675b1 100644--- a/mobile/lib/ui/home/memories/memory_cover_widget.dart+++ b/mobile/lib/ui/home/memories/memory_cover_widget.dart@@ -19,7 +19,7 @@ class MemoryCoverWidget extends StatefulWidget {static const aspectRatio = 0.68;static const horizontalPadding = 2.5;final double maxScaleOffsetX;- final String? title;+ final String title;const MemoryCoverWidget({required this.memories,@@ -28,7 +28,7 @@ class MemoryCoverWidget extends StatefulWidget {required this.maxHeight,required this.maxWidth,required this.maxScaleOffsetX,- this.title,+ required this.title,super.key,});@@ -47,11 +47,8 @@ class _MemoryCoverWidgetState extends State<MemoryCoverWidget> {final widthOfScreen = MediaQuery.sizeOf(context).width;final index = _getNextMemoryIndex();- final title = widget.title != null- ? widget.title! == "filler"- ? _getTitle(widget.memories[index])- : widget.title!- : _getTitle(widget.memories[index]);+ final title = widget.title;+final memory = widget.memories[index];final isSeen = memory.isSeen();final brightness =