Skip to content

Commit

Permalink
mod: #6 홈 화면 이미지 모서리 둥글게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Apr 19, 2024
1 parent 86970e7 commit a37de9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/src/main/java/com/sopt/now/compose/UserItem.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.shadow
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.font.FontWeight
Expand Down Expand Up @@ -44,7 +46,10 @@ fun UserItem(
Modifier
.width(imageSize)
.height(imageSize)
.background(color = Color(0xFF209672))
.background(
color = Color(0xFF209672),
shape = RoundedCornerShape(10.dp)
)
)

Text(
Expand Down

0 comments on commit a37de9d

Please sign in to comment.