From 127ae5b4f0a3d13ed4fc730969d48cc741c69969 Mon Sep 17 00:00:00 2001 From: boiledegg Date: Tue, 10 Sep 2024 04:36:35 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT/#231]=20=EC=8A=A4=ED=81=AC=EB=9E=A9?= =?UTF-8?q?=EC=8B=9C=20=EB=8B=A4=EC=9D=B4=EC=96=BC=EB=A1=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=9E=90=EB=8F=99=20=EB=8B=AB=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/terning/feature/dialog/detail/ScrapDialog.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/feature/src/main/java/com/terning/feature/dialog/detail/ScrapDialog.kt b/feature/src/main/java/com/terning/feature/dialog/detail/ScrapDialog.kt index 0b37b6bc..7d6df6fe 100644 --- a/feature/src/main/java/com/terning/feature/dialog/detail/ScrapDialog.kt +++ b/feature/src/main/java/com/terning/feature/dialog/detail/ScrapDialog.kt @@ -91,7 +91,10 @@ fun ScrapDialog( internshipAnnouncementId ) - is ScrapDialogSideEffect.ScrappedAnnouncement -> onScrapAnnouncement() + is ScrapDialogSideEffect.ScrappedAnnouncement -> { + onScrapAnnouncement() + onDismissRequest() + } } } }