Skip to content

armgit / ente

Public Imported from GitHub
0

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

Minor fix

AmanRajSinghMourya5e0740d9b1cf
diff --git a/mobile/apps/locker/lib/ui/components/delete_confirmation_dialog.dart b/mobile/apps/locker/lib/ui/components/delete_confirmation_dialog.dart
index 934d7a0924..a1fc845847 100644
--- a/mobile/apps/locker/lib/ui/components/delete_confirmation_dialog.dart
+++ b/mobile/apps/locker/lib/ui/components/delete_confirmation_dialog.dart
@@ -55,10 +55,7 @@ class _DeleteConfirmationBottomSheet extends StatelessWidget {
),
child: SafeArea(
child: Padding(
- padding: const EdgeInsets.only(
- left: 16,
- right: 16,
- ),
+ padding: const EdgeInsets.symmetric(horizontal: 16),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
@@ -93,7 +90,7 @@ class _DeleteConfirmationBottomSheet extends StatelessWidget {
),
const SizedBox(height: 12),
Text(
- "This action is immediate and cannot be undone.\n$fileCount files will be deleted permanently.",
+ "This action is immediate and cannot be undone.\n $fileCount files will be deleted permanently.",
style: textTheme.body.copyWith(
color: colorScheme.textMuted,
),
diff --git a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
index d0667da443..1baa9ebe8f 100644
--- a/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/all_collections_page.dart
@@ -39,7 +39,6 @@ class AllCollectionsPage extends StatefulWidget {
class _AllCollectionsPageState extends State<AllCollectionsPage> {
List<Collection> _sortedCollections = [];
- List<Collection> _allCollections = [];
Collection? _uncategorizedCollection;
int? _uncategorizedFileCount;
bool _isLoading = true;
@@ -106,7 +105,6 @@ class _AllCollectionsPageState extends State<AllCollectionsPage> {
CollectionSortUtil.sortCollections(regularCollections);
- _allCollections = List.from(collections);
_sortedCollections = List.from(regularCollections);
_uncategorizedCollection =
widget.viewType == UISectionType.homeCollections
@@ -246,7 +244,7 @@ class _AllCollectionsPageState extends State<AllCollectionsPage> {
title: _getTitle(context),
),
Text(
- _allCollections.length.toString() + " items",
+ _sortedCollections.length.toString() + " items",
style: textTheme.smallMuted,
),
const SizedBox(height: 20),