π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refactor SettingsItem widget to use BoxConstraints for height and ensure title text handles overflow correctly
AmanRajSinghMourya2e72f82652b9
diff --git a/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dart b/mobile/apps/locker/lib/ui/settings/widgets/settings_widget.dartindex aeb85f70d3..e9d1a6f18e 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: 56,+ constraints: const BoxConstraints(minHeight: 56),decoration: BoxDecoration(color: colorScheme.backdropBase,borderRadius: BorderRadius.circular(20),@@ -50,6 +50,8 @@ class SettingsItem extends StatelessWidget {Expanded(child: Text(title,+ maxLines: 2,+ overflow: TextOverflow.ellipsis,style: textTheme.small.copyWith(color: textColor ?? colorScheme.textBase,),