File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Core/Sources/Repositories Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ final public class AuthViewController: UIViewController {
6363
6464 case . showErrorAlert( let error) :
6565 self ? . showErrorAlert ( error)
66- }
66+ au }
6767 }
6868 . store ( in: & cancellables)
6969 }
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ final public class AuthViewModel: ViewModelType {
2727
2828 func didTapKakaoLogin( ) {
2929 SocialLoginManager . shared. tryKakaoLogin ( completionHandler: { [ weak self] isNewUser in
30+ DefaultUserManager . shared. updateGuestState ( false )
3031 if isNewUser {
3132 self ? . currentState. send ( . pushPermissionView)
3233 } else {
@@ -39,6 +40,7 @@ final public class AuthViewModel: ViewModelType {
3940
4041 func didTapAppleLogin( ) {
4142 SocialLoginManager . shared. tryAppleLogin ( completionHandler: { [ weak self] isNewUser in
43+ DefaultUserManager . shared. updateGuestState ( false )
4244 if isNewUser {
4345 self ? . currentState. send ( . pushPermissionView)
4446 } else {
Original file line number Diff line number Diff line change @@ -55,5 +55,6 @@ public final class DefaultSettingRepository: SettingRepository {
5555
5656 public func logout( ) {
5757 SessionManager . shared. deleteUserSession ( )
58+ DefaultUserManager . shared. updateGuestState ( true )
5859 }
5960}
You canโt perform that action at this time.
0 commit comments