π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clear cache debug option
laurenspriem26f7f85e752f
diff --git a/mobile/lib/ui/settings/debug/ml_debug_section_widget.dart b/mobile/lib/ui/settings/debug/ml_debug_section_widget.dartindex 46acde870d..cec969abba 100644--- a/mobile/lib/ui/settings/debug/ml_debug_section_widget.dart+++ b/mobile/lib/ui/settings/debug/ml_debug_section_widget.dart@@ -299,6 +299,26 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {},),sectionOptionSpacing,+ MenuItemWidget(+ captionedTextWidget: const CaptionedTextWidget(+ title: "Clear memories cache",+ ),+ pressedColor: getEnteColorScheme(context).fillFaint,+ trailingIcon: Icons.chevron_right_outlined,+ trailingIconIsMuted: true,+ onTap: () async {+ try {+ final now = DateTime.now();+ await memoriesCacheService.clearMemoriesCache();+ final duration = DateTime.now().difference(now);+ showShortToast(context, "Done in ${duration.inSeconds} seconds");+ } catch (e, s) {+ logger.warning('Clear memories cache failed', e, s);+ await showGenericErrorDialog(context: context, error: e);+ }+ },+ ),+ sectionOptionSpacing,MenuItemWidget(captionedTextWidget: const CaptionedTextWidget(title: "Sync person mappings ",