Skip to content

Commit

Permalink
Merge pull request #29 from snuhcs-course/login_fix
Browse files Browse the repository at this point in the history
fix login
  • Loading branch information
jakehsj authored Nov 30, 2023
2 parents bc0fec0 + 038252a commit ce6d541
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fun RootNavigationGraph(navController: NavHostController, context: Context) {

private fun isLoggedIn(context: Context): Boolean {
val accesstoken = getAccessToken(context)
return accesstoken != ""
return accesstoken != null && accesstoken != ""
}

object Graph {
Expand Down

0 comments on commit ce6d541

Please sign in to comment.