From 074adf8f52fa0c35f3e2c8b06c186503e2684667 Mon Sep 17 00:00:00 2001 From: Sunghun Kim <81547954+kimsh153@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:16:54 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20[#273]=20Military=20/=20RadioButto?= =?UTF-8?q?n=20=EB=88=84=EB=A5=B4=EB=A9=B4=20=EB=B0=94=ED=85=80=EC=8B=9C?= =?UTF-8?q?=ED=8A=B8=20=EB=82=B4=EB=A0=A4=EA=B0=80=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=ED=95=98=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Scene/InputMilitaryInfoView.swift | 5 ++++- .../Feature/MyPageFeature/Sources/Scene/MyPageView.swift | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Projects/Feature/InputMilitaryInfoFeature/Sources/Scene/InputMilitaryInfoView.swift b/Projects/Feature/InputMilitaryInfoFeature/Sources/Scene/InputMilitaryInfoView.swift index 662db677..1fc1047c 100644 --- a/Projects/Feature/InputMilitaryInfoFeature/Sources/Scene/InputMilitaryInfoView.swift +++ b/Projects/Feature/InputMilitaryInfoFeature/Sources/Scene/InputMilitaryInfoView.swift @@ -78,7 +78,10 @@ struct InputMilitaryInfoView: View { SMSRadioButton( isSelected: Binding( get: { state.selectedMilitaryServiceType == militaryServiceType }, - set: { $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () } + set: { + $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () + $0 ? intent.militarySheetDismissed() : () + } ) ) .buttonWrapper {} diff --git a/Projects/Feature/MyPageFeature/Sources/Scene/MyPageView.swift b/Projects/Feature/MyPageFeature/Sources/Scene/MyPageView.swift index 666abf9f..4061e41d 100644 --- a/Projects/Feature/MyPageFeature/Sources/Scene/MyPageView.swift +++ b/Projects/Feature/MyPageFeature/Sources/Scene/MyPageView.swift @@ -288,7 +288,10 @@ struct MyPageView: View { SMSRadioButton( isSelected: Binding( get: { state.selectedMilitaryServiceType == militaryServiceType }, - set: { $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () } + set: { + $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () + $0 ? intent.militarySheetDismissed() : () + } ) ) .buttonWrapper {}