Skip to content

Commit 0ae4b64

Browse files
committed
[FEAT/#380] 줄바꿈 넣기
1 parent 17dbabd commit 0ae4b64

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

feature/main/src/main/java/com/terning/feature/main/MainNavigator.kt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@ class MainNavigator(
2626
@Composable get() = navController
2727
.currentBackStackEntryAsState().value?.destination
2828

29-
fun getStartDestination(host: String?, redirect: String?, internId: String?) =
30-
when (DeeplinkHost.from(host)) {
31-
DeeplinkHost.SEARCH -> Search
32-
DeeplinkHost.HOME -> Home(internId = null)
33-
DeeplinkHost.CALENDAR -> Calendar
34-
DeeplinkHost.KAKAOLINK -> Splash(redirect = redirect, internId = internId)
35-
36-
else -> Splash(redirect = redirect)
37-
}
29+
fun getStartDestination(
30+
host: String?,
31+
redirect: String?,
32+
internId: String?
33+
) = when (DeeplinkHost.from(host)) {
34+
DeeplinkHost.SEARCH -> Search
35+
DeeplinkHost.HOME -> Home(internId = null)
36+
DeeplinkHost.CALENDAR -> Calendar
37+
DeeplinkHost.KAKAOLINK -> Splash(redirect = redirect, internId = internId)
3838

39+
else -> Splash(redirect = redirect)
40+
}
3941

4042
val currentTab: MainTab?
4143
@Composable get() = MainTab.find { tab ->

0 commit comments

Comments
 (0)