Commit 0529078dabc70c20ca14dd4e9f8517bbaaf9964e
1 parent
f6c4de95
feat:隐藏用户信息页内购元素
Showing
1 changed file
with
2 additions
and
2 deletions
lib/pages/user/user_page.dart
@@ -101,7 +101,7 @@ class _UserView extends StatelessWidget { | @@ -101,7 +101,7 @@ class _UserView extends StatelessWidget { | ||
101 | ), | 101 | ), |
102 | 14.horizontalSpace, | 102 | 14.horizontalSpace, |
103 | Offstage( | 103 | Offstage( |
104 | - offstage: user.effectiveDate == null, | 104 | + offstage: user.effectiveDate == null || AppConfigHelper.shouldHidePay(), |
105 | child: Image.asset( | 105 | child: Image.asset( |
106 | AssetsConst.icVip, | 106 | AssetsConst.icVip, |
107 | height: 18.h, | 107 | height: 18.h, |
@@ -110,7 +110,7 @@ class _UserView extends StatelessWidget { | @@ -110,7 +110,7 @@ class _UserView extends StatelessWidget { | ||
110 | ], | 110 | ], |
111 | ), | 111 | ), |
112 | Offstage( | 112 | Offstage( |
113 | - offstage: user.effectiveDate == null, | 113 | + offstage: user.effectiveDate == null || AppConfigHelper.shouldHidePay(), |
114 | child: Row( | 114 | child: Row( |
115 | children: [ | 115 | children: [ |
116 | Text( | 116 | Text( |