Skip to content

Commit 19598e4

Browse files
committed
feat(mobile-app): Updated catalog list default compact landscape ui condition
1 parent f5e13c3 commit 19598e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/features/catalog_list/CatalogListContent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fun CatalogListContent(
4343
onCatalogItemSelected: (Long) -> Unit,
4444
) {
4545
when {
46-
appState.isLandscape.and(appState.devicePosture == DevicePosture.Normal) -> {
46+
appState.isLandscape.and(appState.devicePosture == DevicePosture.Normal).and(appState.isCompactHeight) -> {
4747
LandscapeCompactCatalogListScreen(
4848
appState = appState,
4949
catalogItemsListState = catalogItemsListState,

0 commit comments

Comments
 (0)