Skip to content

armgit / ente

Public Imported from GitHub
0

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

Refactor loading indicator in UsageCardWidget for improved sizing

AmanRajSinghMouryae80d01f114a1
diff --git a/mobile/apps/locker/lib/ui/components/usage_card_widget.dart b/mobile/apps/locker/lib/ui/components/usage_card_widget.dart
index 66b9f6a79a..cb510a5fc7 100644
--- a/mobile/apps/locker/lib/ui/components/usage_card_widget.dart
+++ b/mobile/apps/locker/lib/ui/components/usage_card_widget.dart
@@ -75,10 +75,14 @@ class UsageCardWidget extends StatelessWidget {
color: Colors.white,
),
)
- : EnteLoadingWidget(
- size: 12,
- padding: 0,
- color: Colors.white.withValues(alpha: 0.6),
+ : const SizedBox(
+ width: 14,
+ height: 14,
+ child: EnteLoadingWidget(
+ size: 14,
+ padding: 0,
+ color: Colors.white,
+ ),
),
],
),