From b36ebb2207fd5fe5ae7a3297806b57bacd9ad3d0 Mon Sep 17 00:00:00 2001 From: arinming Date: Fri, 19 Jul 2024 23:54:38 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EC=83=89=EC=83=81=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../terning/feature/intern/component/ScrapDialogContent.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/feature/src/main/java/com/terning/feature/intern/component/ScrapDialogContent.kt b/feature/src/main/java/com/terning/feature/intern/component/ScrapDialogContent.kt index c09836368..49f107b0b 100644 --- a/feature/src/main/java/com/terning/feature/intern/component/ScrapDialogContent.kt +++ b/feature/src/main/java/com/terning/feature/intern/component/ScrapDialogContent.kt @@ -7,12 +7,10 @@ import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer -import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size -import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.foundation.layout.wrapContentSize import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.HorizontalDivider @@ -239,7 +237,7 @@ fun ScrapDialogContent( viewModel.postScrap(announcementId, selectedColorIndex) viewModel.updateColorChange(false) } else { - viewModel.postScrap(announcementId, 0) + viewModel.postScrap(announcementId, selectedColorIndex) } viewModel.updateScrapDialogVisible(false) }