Skip to content

Commit

Permalink
[FEAT/#304] immutableList ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Dec 9, 2024
1 parent 2e38437 commit 4883285
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ import com.terning.feature.onboarding.splash.navigation.splashNavGraph
import com.terning.feature.search.search.navigation.searchNavGraph
import com.terning.feature.search.searchprocess.navigation.navigateSearchProcess
import com.terning.feature.search.searchprocess.navigation.searchProcessNavGraph
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.toImmutableList
import kotlinx.coroutines.launch

@Composable
Expand Down Expand Up @@ -113,7 +115,7 @@ fun MainScreen(
bottomBar = {
MainBottomBar(
isVisible = navigator.showBottomBar(),
tabs = MainTab.entries.toList(),
tabs = MainTab.entries.toImmutableList(),
currentTab = navigator.currentTab,
onTabSelected = { navigation ->
amplitudeTracker.track(
Expand Down Expand Up @@ -278,7 +280,7 @@ fun MainScreen(
@Composable
private fun MainBottomBar(
isVisible: Boolean,
tabs: List<MainTab>,
tabs: ImmutableList<MainTab>,
currentTab: MainTab?,
onTabSelected: (MainTab) -> Unit,
) {
Expand Down

0 comments on commit 4883285

Please sign in to comment.