Skip to content

Commit

Permalink
#10 [DEL] 불필요한 파일 및 Params 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yihwanggeun committed Dec 6, 2024
1 parent fc3c526 commit 584d977
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/org/sopt/and/navigation/NavGraph.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import org.sopt.and.core.UserInfo
import org.sopt.and.presentation.home.HomeScreen
import org.sopt.and.presentation.mypage.MyPageScreen
import org.sopt.and.presentation.search.SearchScreen
Expand All @@ -22,7 +21,7 @@ sealed class Screen(val route: String) {
}

@Composable
fun NavGraph(navController: NavHostController, userInfo: UserInfo) {
fun NavGraph(navController: NavHostController) {
NavHost(
navController = navController,
startDestination = Screen.SignIn.route
Expand Down
28 changes: 0 additions & 28 deletions app/src/main/java/org/sopt/and/network/AuthService.kt

This file was deleted.

4 changes: 1 addition & 3 deletions app/src/main/java/org/sopt/and/presentation/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.navigation.compose.currentBackStackEntryAsState
import androidx.navigation.compose.rememberNavController
import org.sopt.and.R
import org.sopt.and.core.UserInfo
import org.sopt.and.navigation.NavGraph
import org.sopt.and.navigation.Screen
import org.sopt.and.presentation.common.BottomNavigationBar
Expand Down Expand Up @@ -59,8 +58,7 @@ fun MainScreen(userEmail: String?) {
) { paddingValues ->
Box(modifier = Modifier.padding(paddingValues)) {
NavGraph(
navController = navController,
userInfo = UserInfo(userEmail)
navController = navController
)
}
}
Expand Down

0 comments on commit 584d977

Please sign in to comment.