Skip to content

armgit / ente

Public Imported from GitHub
0

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

[locker] Format file_selection_overlay_bar.dart

AmanRajSinghMourya4fafde122bdf
diff --git a/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart b/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
index a07183f330..2528b30313 100644
--- a/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
+++ b/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
@@ -185,11 +185,14 @@ class _FileSelectionOverlayBarState extends State<FileSelectionOverlayBar> {
builder: (context, child) {
// Check if all displayed files are selected,
// not just if counts match
- final selectedSet = widget.selectedFiles.files;
- final isAllSelected = widget.files.isNotEmpty &&
- widget.files.every(
- (file) => selectedSet.contains(file),
- );
+ final selectedSet =
+ widget.selectedFiles.files;
+ final isAllSelected =
+ widget.files.isNotEmpty &&
+ widget.files.every(
+ (file) =>
+ selectedSet.contains(file),
+ );
final buttonText = isAllSelected
? context.l10n.deselectAll
: context.l10n.selectAll;