Skip to content

Commit 31ff9ee

Browse files
committed
chore(tokens/discovery): hide segmented control top bar for now
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 5dd63b5 commit 31ff9ee

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/TokenDiscoveryScreenContent.kt

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -61,28 +61,6 @@ private fun TokenDiscoveryScreenContent(
6161
) {
6262
val listState = rememberLazyListState()
6363
CodeScaffold(
64-
topBar = {
65-
CodeSegmentedControl(
66-
modifier = Modifier
67-
.fillMaxWidth()
68-
.padding(horizontal = CodeTheme.dimens.inset),
69-
options = DiscoverCategory.entries.toList(),
70-
selected = state.category,
71-
mapper = { category ->
72-
Text(
73-
text = when (category) {
74-
DiscoverCategory.Popular -> stringResource(R.string.title_discoverPopular)
75-
DiscoverCategory.New -> stringResource(R.string.title_discoverNew)
76-
},
77-
style = CodeTheme.typography.textSmall,
78-
color = CodeTheme.colors.textMain,
79-
)
80-
},
81-
onSelectionChanged = {
82-
dispatch(TokenDiscoveryViewModel.Event.OnCategorySelected(it, true))
83-
}
84-
)
85-
},
8664
bottomBar = {
8765
if (state.createEnabled) {
8866
Box {

0 commit comments

Comments
 (0)