diff --git a/lib/main.dart b/lib/main.dart index 05dd43a..2137042 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -278,7 +278,7 @@ class _MyAppState extends State { } // 如果需要显示协议弹框,则显示 - if (_showAgreementDialog) { + if (false) { return Stack( children: [ homeWidget, diff --git a/lib/pages/home/user_information_page.dart b/lib/pages/home/user_information_page.dart index 3efcf7c..a86cde4 100644 --- a/lib/pages/home/user_information_page.dart +++ b/lib/pages/home/user_information_page.dart @@ -226,7 +226,7 @@ class UserInformationPage extends StatelessWidget { ), ), SizedBox(width: 13.w,), - if(controller.myUserData.value?.genderCode == 0) Container( + if(controller.userData.value?.genderCode == 1) Container( width: 33.w, height: 13.w, decoration: BoxDecoration( @@ -304,7 +304,7 @@ class UserInformationPage extends StatelessWidget { ), ), SizedBox(width: 4.w,), - if(controller.myUserData.value?.genderCode == 1) Container( + if(controller.userData.value?.genderCode == 0) Container( width: 33.w, height: 13.w, decoration: BoxDecoration(