Browse Source

fix: 修复个人信息引导页重复出现的问题

陈文艺 2 months ago
parent
commit
2be78518e6

+ 2 - 2
Lanu.xcodeproj/project.pbxproj

@@ -531,7 +531,7 @@
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_ENTITLEMENTS = Lanu/Lanu.entitlements;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 31;
+				CURRENT_PROJECT_VERSION = 32;
 				DEVELOPMENT_TEAM = 5H8D98R72W;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -580,7 +580,7 @@
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_ENTITLEMENTS = Lanu/Lanu.entitlements;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 31;
+				CURRENT_PROJECT_VERSION = 32;
 				DEVELOPMENT_TEAM = 5H8D98R72W;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;

+ 1 - 2
Lanu/Manager/Profile/Network/LNProfileResponse.swift

@@ -57,8 +57,7 @@ class LNUserProfileVO: Decodable, Copyable {
     var distance: Double = 0
     
     var isAvailable: Bool {
-        gender != .unknow
-        && !avatar.isEmpty
+        !avatar.isEmpty
         && !nickname.isEmpty
     }
     

+ 0 - 1
Lanu/Views/Main/LNMainViewController.swift

@@ -49,7 +49,6 @@ class LNMainViewController: UITabBarController {
         selectedViewController = home
         
         delegate = self
-        
     }
     
     override func viewWillAppear(_ animated: Bool) {