浏览代码

layout changes in storage card

ashilkn 2 年之前
父节点
当前提交
2e32ae259d
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      lib/ui/settings/details_section_widget.dart

+ 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,