Skip to content

Commit

Permalink
Feat : mygallery 이미지 높이 고정
Browse files Browse the repository at this point in the history
- #53
  • Loading branch information
inwoo13 committed Nov 28, 2024
1 parent 81bb497 commit 3b9589a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ fun GalleryItem(
onLongClickImage: () -> Unit = {}
) {
//비율은 그냥 테스트
val height = if (Random.nextBoolean()) (width.value * 1.4).dp else width + 20.dp
val heightNum = postContentModel.postId.filter { it.isDigit() }.toInt()
val height = if (heightNum % 2 == 0) (width.value * 1.4).dp else width + 20.dp
val isDialogVisible = remember { mutableStateOf(false) }

AsyncImage(
Expand Down

0 comments on commit 3b9589a

Please sign in to comment.