Skip to content

Commit

Permalink
[REFACTOR] 탐색 페이지에서 상세 페이지로 이동 시 announcementId 넘기기
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Aug 21, 2024
1 parent d96e173 commit 2a35377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import com.terning.feature.intern.InternRoute
import kotlinx.serialization.Serializable

fun NavController.navigateIntern(
navOptions: NavOptions? = null,
announcementId: Long = 0,
navOptions: NavOptions? = null,
) {
navigate(
route = Intern(announcementId),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fun NavGraphBuilder.searchNavGraph(
) {
SearchRoute(
navigateToSearchProcess = { navHostController.navigateSearchProcess() },
navigateToIntern = { announcementId -> navHostController.navigateIntern() }
navigateToIntern = { announcementId -> navHostController.navigateIntern(announcementId) }
)
}
}
Expand Down

0 comments on commit 2a35377

Please sign in to comment.