Skip to content

Commit 91ce74f

Browse files
committed
fix: 링크 목록, 공연 목록 내껄로 연결되는 버그 수정
1 parent a52b831 commit 91ce74f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

presentation/src/main/java/com/nexters/boolti/presentation/screen/MainDestination.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ sealed class MainDestination(val route: String) {
151151
"profileLinkEdit?id=${link.id}&title=${link.name}&url=${link.url}"
152152
}
153153

154-
data object LinkList : MainDestination(route = "linkList") {
154+
data object LinkList : MainDestination(route = "linkList?userCode={$userCode}") {
155155
val arguments = listOf(
156156
navArgument(userCode) {
157157
type = NavType.StringType
@@ -163,7 +163,7 @@ sealed class MainDestination(val route: String) {
163163
fun createRoute(userCode: String) = "linkList?userCode=$userCode"
164164
}
165165

166-
data object PerformedShows : MainDestination(route = "performedShows") {
166+
data object PerformedShows : MainDestination(route = "performedShows?userCode={$userCode}") {
167167
val arguments = listOf(
168168
navArgument(userCode) {
169169
type = NavType.StringType

0 commit comments

Comments
 (0)