π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Avoid building fileSelection when no file is selected
Neeraj Guptae6e9948fd88f
diff --git a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dartindex 9485326abb..a8aac620fa 100644--- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart+++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart@@ -114,6 +114,9 @@ class _FileSelectionActionsWidgetState@overrideWidget build(BuildContext context) {+ if (widget.selectedFiles.files.isEmpty) {+ return const SizedBox();+ }final ownedFilesCount = split.ownedByCurrentUser.length;final ownedAndPendingUploadFilesCount =ownedFilesCount + split.pendingUploads.length;