v0.2.8: Site & Keyword Reordering Support & Slim Bottom Bar Margins
This commit is contained in:
@@ -53,6 +53,7 @@ fun DealListScreen(
|
|||||||
onNavigateToSettings: () -> Unit = {}
|
onNavigateToSettings: () -> Unit = {}
|
||||||
) {
|
) {
|
||||||
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
|
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
|
||||||
|
val siteOrder by viewModel.siteOrder.collectAsStateWithLifecycle()
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
val focusManager = LocalFocusManager.current
|
val focusManager = LocalFocusManager.current
|
||||||
|
|
||||||
@@ -306,7 +307,7 @@ fun DealListScreen(
|
|||||||
accentColor = FavoriteColor
|
accentColor = FavoriteColor
|
||||||
)
|
)
|
||||||
|
|
||||||
SiteType.entries.forEach { siteType ->
|
siteOrder.forEach { siteType ->
|
||||||
val siteColor = getSiteColor(siteType)
|
val siteColor = getSiteColor(siteType)
|
||||||
FilterPillChip(
|
FilterPillChip(
|
||||||
selected = selectedSiteFilter == siteType,
|
selected = selectedSiteFilter == siteType,
|
||||||
|
|||||||
Reference in New Issue
Block a user