修复了补全资料之后tabbar的item 不是赛事和我的

This commit is contained in:
fengshuo
2021-11-04 15:14:13 +08:00
parent 2c9d2fcc12
commit d50b33a35f
3 changed files with 5 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface LoginFullInfoPresenter : BaseMvpPresenter
/// 获取保存的第三方的数据模型
+ (ThirdUserInfo * __nullable)getThirdUserInfo;
- (ThirdUserInfo *)getThirdUserInfo;
/// 随机获取昵称
- (void)randomRequestNick;

View File

@@ -22,7 +22,7 @@
///
+ (ThirdUserInfo * __nullable)getThirdUserInfo {
- (ThirdUserInfo *)getThirdUserInfo {
if ([AccountInfoStorage instance].thirdUserInfo) {
return [AccountInfoStorage instance].thirdUserInfo;
}

View File

@@ -15,6 +15,7 @@
#import "UIImage+Utils.h"
#import "UIButton+EnlargeTouchArea.h"
#import "StatisticsServiceHelper.h"
#import "AccountInfoStorage.h"
///Model
#import "ThirdUserInfo.h"
///P
@@ -203,6 +204,8 @@
- (void)complementInfoSuccess {
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventLoginRepariSuccess];
/// ticket tabbaritem
[[AccountInfoStorage instance] saveTicket:nil];
UIViewController *vc = self.presentingViewController;
while (vc.presentingViewController) {
vc = vc.presentingViewController;