π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update settings screen
AmanRajSinghMouryadd2048daa7a0
diff --git a/mobile/apps/locker/lib/ui/components/legacy_collections_trash_widget.dart b/mobile/apps/locker/lib/ui/components/legacy_collections_trash_widget.dartindex 9c2b8ad9e7..eb188ca555 100644--- a/mobile/apps/locker/lib/ui/components/legacy_collections_trash_widget.dart+++ b/mobile/apps/locker/lib/ui/components/legacy_collections_trash_widget.dart@@ -44,30 +44,24 @@ class _CollectionsItem extends StatelessWidget {behavior: HitTestBehavior.opaque,onTap: () => _openCollections(context),child: Container(- height: 60,+ height: 56,decoration: BoxDecoration(color: colorScheme.backdropBase,borderRadius: borderRadius,),- padding: const EdgeInsets.all(8),+ padding: const EdgeInsets.all(16),child: Row(children: [- SizedBox(- width: 40,- height: 40,- child: Center(- child: HugeIcon(- icon: HugeIcons.strokeRoundedWallet05,- color: colorScheme.strokeBase,- size: 24,- ),- ),+ HugeIcon(+ icon: HugeIcons.strokeRoundedWallet05,+ color: colorScheme.textMuted,+ size: 20,),- const SizedBox(width: 8),+ const SizedBox(width: 12),Expanded(child: Text(context.l10n.collections,- style: textTheme.body,+ style: textTheme.small,overflow: TextOverflow.ellipsis,maxLines: 1,),@@ -96,30 +90,24 @@ class _TrashItem extends StatelessWidget {behavior: HitTestBehavior.opaque,onTap: () => _openTrash(context),child: Container(- height: 60,+ height: 56,decoration: BoxDecoration(color: colorScheme.backdropBase,borderRadius: borderRadius,),- padding: const EdgeInsets.all(8),+ padding: const EdgeInsets.all(16),child: Row(children: [- SizedBox(- width: 40,- height: 40,- child: Center(- child: HugeIcon(- icon: HugeIcons.strokeRoundedDelete02,- color: colorScheme.strokeBase,- size: 24,- ),- ),+ HugeIcon(+ icon: HugeIcons.strokeRoundedDelete02,+ color: colorScheme.textMuted,+ size: 20,),- const SizedBox(width: 8),+ const SizedBox(width: 12),Expanded(child: Text(context.l10n.trash,- style: textTheme.body,+ style: textTheme.small,overflow: TextOverflow.ellipsis,maxLines: 1,),@@ -150,30 +138,24 @@ class _LegacyItem extends StatelessWidget {behavior: HitTestBehavior.opaque,onTap: () => openLegacyPage(context),child: Container(- height: 60,+ height: 56,decoration: BoxDecoration(color: colorScheme.backdropBase,borderRadius: borderRadius,),- padding: const EdgeInsets.all(8),+ padding: const EdgeInsets.all(16),child: Row(children: [- SizedBox(- width: 40,- height: 40,- child: Center(- child: HugeIcon(- icon: HugeIcons.strokeRoundedFavourite,- color: colorScheme.primary700,- size: 24,- ),- ),+ HugeIcon(+ icon: HugeIcons.strokeRoundedFavourite,+ color: colorScheme.textMuted,+ size: 20,),- const SizedBox(width: 8),+ const SizedBox(width: 12),Expanded(child: Text(context.l10n.legacy,- style: textTheme.body,+ style: textTheme.small,),),Icon(diff --git a/mobile/apps/locker/lib/ui/drawer/drawer_page.dart b/mobile/apps/locker/lib/ui/drawer/drawer_page.dartindex a80a816d3b..eacbe1c65b 100644--- a/mobile/apps/locker/lib/ui/drawer/drawer_page.dart+++ b/mobile/apps/locker/lib/ui/drawer/drawer_page.dart@@ -85,9 +85,9 @@ class DrawerPage extends StatelessWidget {contents.addAll([sectionSpacing,const UsageCardWidget(),- const SizedBox(height: 16),+ const SizedBox(height: 24),const LegacyCollectionsTrashWidget(),- sectionSpacing,+ const SizedBox(height: 24),]);}diff --git a/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dart b/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dartindex fe106914ef..ff5de782f6 100644--- a/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dart+++ b/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dart@@ -31,7 +31,7 @@ class SettingsItem extends StatelessWidget {behavior: HitTestBehavior.opaque,onTap: onTap,child: Container(- height: 60,+ height: 56,decoration: BoxDecoration(color: colorScheme.backdropBase,borderRadius: BorderRadius.circular(20),@@ -42,15 +42,15 @@ class SettingsItem extends StatelessWidget {if (icon != null) ...[HugeIcon(icon: icon,- color: iconColor ?? colorScheme.strokeBase,- size: 24,+ color: iconColor ?? colorScheme.textMuted,+ size: 20,),const SizedBox(width: 12),],Expanded(child: Text(title,- style: textTheme.body.copyWith(+ style: textTheme.small.copyWith(color: textColor ?? colorScheme.textBase,),),