Skip to content

Commit

Permalink
[mod] #117 소셜로그인 분기처리 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Doreminwoo committed Jan 12, 2024
1 parent cba1c3a commit 787f9d6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package org.sopt.pingle.presentation.ui.auth

import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.activity.viewModels
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
Expand Down Expand Up @@ -54,11 +53,11 @@ class AuthActivity : BindingActivity<ActivityAuthBinding>(R.layout.activity_auth

private fun navigateToOnBoarding() {
if (viewModel.isLocalGroupId()) {
Intent(this, MainActivity::class.java).apply {
Intent(this, OnBoardingActivity::class.java).apply {
startActivity(this)
}
} else {
Intent(this, OnBoardingActivity::class.java).apply {
Intent(this, MainActivity::class.java).apply {
startActivity(this)
}
}
Expand Down

0 comments on commit 787f9d6

Please sign in to comment.