Skip to content

Commit

Permalink
[chore] #72 BbangZipGetBadgeBottomSheet clip 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
HAJIEUN02 committed Jan 24, 2025
1 parent 4e2908c commit bf47145
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.PagerState
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Icon
import androidx.compose.material3.Text
Expand All @@ -25,6 +26,7 @@ import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
Expand Down Expand Up @@ -220,7 +222,9 @@ private fun BadgeDetailContent(
.crossfade(enable = true)
.build(),
contentDescription = null,
modifier = Modifier.align(Alignment.CenterHorizontally),
modifier = Modifier
.clip(shape = RoundedCornerShape(48.dp))
.align(Alignment.CenterHorizontally),
)

Spacer(modifier = Modifier.height(8.dp))
Expand Down

0 comments on commit bf47145

Please sign in to comment.