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 | 101 | ), |
102 | 102 | 14.horizontalSpace, |
103 | 103 | Offstage( |
104 | - offstage: user.effectiveDate == null, | |
104 | + offstage: user.effectiveDate == null || AppConfigHelper.shouldHidePay(), | |
105 | 105 | child: Image.asset( |
106 | 106 | AssetsConst.icVip, |
107 | 107 | height: 18.h, |
... | ... | @@ -110,7 +110,7 @@ class _UserView extends StatelessWidget { |
110 | 110 | ], |
111 | 111 | ), |
112 | 112 | Offstage( |
113 | - offstage: user.effectiveDate == null, | |
113 | + offstage: user.effectiveDate == null || AppConfigHelper.shouldHidePay(), | |
114 | 114 | child: Row( |
115 | 115 | children: [ |
116 | 116 | Text( | ... | ... |