Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tweak settings storage card layout

Neeraj Guptaa8d27fdf6f9a
diff --git a/mobile/apps/photos/lib/ui/settings/storage_card_widget.dart b/mobile/apps/photos/lib/ui/settings/storage_card_widget.dart
index 08fe5eb02d..5025c92f8c 100644
--- a/mobile/apps/photos/lib/ui/settings/storage_card_widget.dart
+++ b/mobile/apps/photos/lib/ui/settings/storage_card_widget.dart
@@ -56,6 +56,7 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
) {
return Container(
width: double.infinity,
+ constraints: const BoxConstraints(minHeight: 130),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(15),
gradient: const LinearGradient(
@@ -69,8 +70,10 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
),
child: userDetails is UserDetails
? _userDetails(userDetails)
- : const EnteLoadingWidget(
- color: strokeBaseDark,
+ : const Center(
+ child: EnteLoadingWidget(
+ color: strokeBaseDark,
+ ),
),
);
}