From 19598e4ba25e134d804809e724a4c10f06e9d764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marlon=20L=C3=B3pez?= Date: Sat, 9 Mar 2024 10:51:38 -0500 Subject: [PATCH] feat(mobile-app): Updated catalog list default compact landscape ui condition --- .../apps/cappajv/features/catalog_list/CatalogListContent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/features/catalog_list/CatalogListContent.kt b/apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/features/catalog_list/CatalogListContent.kt index 8207e78..f329bca 100644 --- a/apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/features/catalog_list/CatalogListContent.kt +++ b/apps/mobile-app/src/main/kotlin/dev/marlonlom/apps/cappajv/features/catalog_list/CatalogListContent.kt @@ -43,7 +43,7 @@ fun CatalogListContent( onCatalogItemSelected: (Long) -> Unit, ) { when { - appState.isLandscape.and(appState.devicePosture == DevicePosture.Normal) -> { + appState.isLandscape.and(appState.devicePosture == DevicePosture.Normal).and(appState.isCompactHeight) -> { LandscapeCompactCatalogListScreen( appState = appState, catalogItemsListState = catalogItemsListState,