Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge branch 'wid-fix' of https://github.com/ente-io/ente into wid-fix

Prateek Sunaldfec66f9718f
diff --cc mobile/lib/services/memory_home_widget_service.dart
index 895fcf1aa6,de54a236fd..612080b4ea
--- a/mobile/lib/services/memory_home_widget_service.dart
+++ b/mobile/lib/services/memory_home_widget_service.dart
@@@ -261,8 -265,9 +262,8 @@@ class MemoryHomeWidgetService
// TODO: Can update the method to fetch directly max limit random memories
final memoriesWithFiles = await _getMemoriesWithFiles();
if (memoriesWithFiles.isEmpty) {
- _logger.warning("No memories found, clearing widget");
await clearWidget();
- return;
+ return false;
}
final bool isWidgetPresent = await countHomeWidgets() > 0;