Prechádzať zdrojové kódy

layout changes in storage card

ashilkn 2 rokov pred
rodič
commit
2e32ae259d

+ 1 - 7
lib/ui/settings/details_section_widget.dart

@@ -141,13 +141,7 @@ class _DetailsSectionWidgetState extends State<DetailsSectionWidget> {
         16,
         20,
         16,
-        isMobileScreenSmall
-            ? userDetails.isPartOfFamily()
-                ? 12
-                : 8
-            : userDetails.isPartOfFamily()
-                ? 20
-                : 12,
+        isMobileScreenSmall ? 12 : 20,
       ),
       child: Column(
         mainAxisAlignment: MainAxisAlignment.spaceBetween,