Skip to content

Commit

Permalink
refactor/#17 : 색상 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
shinythinking committed Feb 18, 2025
1 parent 2533e56 commit 50f190f
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.boostcamp.mapisode.home.ai

import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
Expand All @@ -21,6 +20,7 @@ import androidx.compose.foundation.lazy.grid.items
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Card
import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.saveable.rememberSaveable
Expand All @@ -45,6 +45,7 @@ import com.naver.maps.geometry.LatLng
import com.naver.maps.geometry.LatLngBounds
import com.naver.maps.map.CameraUpdate
import com.naver.maps.map.compose.ExperimentalNaverMapApi
import com.naver.maps.map.compose.MapUiSettings
import com.naver.maps.map.compose.Marker
import com.naver.maps.map.compose.MarkerState
import com.naver.maps.map.compose.NaverMap
Expand Down Expand Up @@ -164,9 +165,10 @@ fun RecommendationChoiceScreen(
.padding(12.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
Image(
Icon(
painter = painterResource(item.icon),
contentDescription = item.text,
tint = MapisodeTheme.colorScheme.chipSelectedStroke,
modifier = Modifier
.size(80.dp)
.aspectRatio(1f)
Expand Down Expand Up @@ -252,6 +254,13 @@ fun ResultMap(

NaverMap(
cameraPositionState = cameraPositionState,
uiSettings = MapUiSettings(
isZoomControlEnabled = false,
isLocationButtonEnabled = true,
isLogoClickEnabled = false,
isScaleBarEnabled = false,
isCompassEnabled = false,
),
onMapLoaded = {
val padding = 100
cameraPositionState.move(
Expand Down

0 comments on commit 50f190f

Please sign in to comment.