Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: fetch memory instead of favorites now

Prateek Sunal35ab57f3167b
diff --git a/mobile/lib/services/home_widget_service.dart b/mobile/lib/services/home_widget_service.dart
index a51511cb09..0b51d8307e 100644
--- a/mobile/lib/services/home_widget_service.dart
+++ b/mobile/lib/services/home_widget_service.dart
@@ -272,9 +272,9 @@ class HomeWidgetService {
routeToPage(context, page, forceCustomPageRoute: true).ignore();
}
- Future<List<EnteFile>> getFiles(bool isMemory) async {
- if (isMemory) {
- final memories = await memoriesCacheService.getMemories(100);
+ Future<List<EnteFile>> getFiles({required bool fetchMemory}) async {
+ if (fetchMemory) {
+ final memories = await memoriesCacheService.getMemories();
if (memories.isEmpty) {
return [];
}
@@ -332,7 +332,7 @@ class HomeWidgetService {
}
Future<void> lockAndLoadMemories() async {
- final files = await getFiles(false);
+ final files = await getFiles(fetchMemory: true);
int index = 0;
diff --git a/web/apps/photos/thirdparty/photoswipe b/web/apps/photos/thirdparty/photoswipe
new file mode 160000
index 0000000000..bf4a072503
--- /dev/null
+++ b/web/apps/photos/thirdparty/photoswipe
@@ -0,0 +1 @@
+Subproject commit bf4a072503df18c8d6b047e66a437534c5c05bc5