From b4cdbe3af198b128e19d584fbe4d32c36e681166 Mon Sep 17 00:00:00 2001 From: Hyobeen-Park Date: Fri, 24 Jan 2025 08:55:13 +0900 Subject: [PATCH] =?UTF-8?q?[FIX/#162]=20=EC=9E=90=EC=B2=B4=20QA=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/spoony/spoony/presentation/map/MapScreen.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/spoony/spoony/presentation/map/MapScreen.kt b/app/src/main/java/com/spoony/spoony/presentation/map/MapScreen.kt index 205b4969..0fa51d0e 100644 --- a/app/src/main/java/com/spoony/spoony/presentation/map/MapScreen.kt +++ b/app/src/main/java/com/spoony/spoony/presentation/map/MapScreen.kt @@ -154,7 +154,10 @@ fun MapScreen( var isSelected by remember { mutableStateOf(false) } var selectedMarkerId by remember { mutableIntStateOf(-1) } - Box(modifier = Modifier.fillMaxSize()) { + Box( + modifier = Modifier + .fillMaxSize() + ) { NaverMap( cameraPositionState = cameraPositionState, onMapClick = { _, _ -> @@ -271,7 +274,7 @@ fun MapScreen( MapPlaceDetailCard( placeName = placeName, review = postTitle, - imageUrlList = photoUrlList.toImmutableList(), + imageUrlList = photoUrlList.take(3).toImmutableList(), categoryIconUrl = categoryEntity.iconUrl, categoryName = categoryEntity.categoryName, textColor = Color.hexToColor(categoryEntity.textColor.toValidHexColor()), @@ -310,6 +313,7 @@ fun MapScreen( ) } else { LazyColumn( + contentPadding = PaddingValues(bottom = paddingValues.calculateBottomPadding()), modifier = Modifier .fillMaxSize() .padding(bottom = paddingValues.calculateBottomPadding())