π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Remove commented out code
ashilkn0dcc840179a4
diff --git a/mobile/lib/ui/tools/editor/image_editor_page.dart b/mobile/lib/ui/tools/editor/image_editor_page.dartindex 002f00e442..9160ad69d6 100644--- a/mobile/lib/ui/tools/editor/image_editor_page.dart+++ b/mobile/lib/ui/tools/editor/image_editor_page.dart@@ -377,14 +377,7 @@ class _ImageEditorPageState extends State<ImageEditorPage> {showShortToast(context, S.of(context).editsSaved);_logger.info("Original file " + widget.originalFile.toString());_logger.info("Saved edits to file " + newFile.toString());- final existingFiles = widget.detailPageConfig.files;-- final files = existingFiles;- // final files = (await widget.detailPageConfig.asyncLoader!(- // existingFiles[existingFiles.length - 1].creationTime!,- // existingFiles[0].creationTime!,- // ))- // .files;+ final files = widget.detailPageConfig.files;// the index could be -1 if the files fetched doesn't contain the newly// edited filesdiff --git a/mobile/lib/ui/tools/editor/video_editor_page.dart b/mobile/lib/ui/tools/editor/video_editor_page.dartindex 76a4c43cc0..a79b7e9454 100644--- a/mobile/lib/ui/tools/editor/video_editor_page.dart+++ b/mobile/lib/ui/tools/editor/video_editor_page.dart@@ -262,13 +262,7 @@ class _VideoEditorPageState extends State<VideoEditorPage> {showShortToast(context, S.of(context).editsSaved);_logger.info("Original file " + widget.file.toString());_logger.info("Saved edits to file " + newFile.toString());- final existingFiles = widget.detailPageConfig.files;- final files = existingFiles;- // final files = (await widget.detailPageConfig.asyncLoader!(- // existingFiles[existingFiles.length - 1].creationTime!,- // existingFiles[0].creationTime!,- // ))- // .files;+ final files = widget.detailPageConfig.files;// the index could be -1 if the files fetched doesn't contain the newly// edited files