Commit 48c8453d by pidan

fixed 私享屋设置密码不生效的问题

parent cba0f68f
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
if (type == FUSLiveBottomToolTypePK) { if (type == FUSLiveBottomToolTypePK) {
if (FUSLiveHelper.shareInstance.roomScopeType == FUSLiveRoomScopeTypePassword) { if (FUSLiveHelper.shareInstance.roomScopeType == FUSLiveRoomScopeTypePassword) {
[FUSDialogView fus_showDialog:[NSString fus_versionLocalString:@"仅公开屋可分享"]]; [FUSDialogView fus_showDialog:[NSString fus_versionLocalString:@"仅公开屋可进行PK"]];
return; return;
} }
......
...@@ -191,6 +191,7 @@ import RxSwift ...@@ -191,6 +191,7 @@ import RxSwift
userDefaults?.set(newPassword, forKey: FUSLiveUDKeys.fus_lastLivePasswordUDKEY()) userDefaults?.set(newPassword, forKey: FUSLiveUDKeys.fus_lastLivePasswordUDKEY())
self.passwordView.endEditing(true) self.passwordView.endEditing(true)
self.password = newPassword self.password = newPassword
self.clickWithSucceedHandler?(true, newPassword)
self.fus_dismissWithAnimation() self.fus_dismissWithAnimation()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment