From 313af1949eab226d5f5fb98c327eee8599191cc8 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 2 Jul 2024 22:12:05 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A3=B0=EB=A0=9B=20=ED=95=A9=EA=B3=84=20?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20-=20Float=20=EA=B0=92=EC=9D=B4=EB=9D=BC=20?= =?UTF-8?q?=EC=A0=95=ED=99=95=ED=9E=88=20100.0=EC=9D=B4=20=EB=82=98?= =?UTF-8?q?=EC=98=A4=EC=A7=80=20=EC=95=8A=EC=9C=BC=EB=AF=80=EB=A1=9C=20tot?= =?UTF-8?q?alPercentage=EA=B0=80=2099.9=EB=B3=B4=EB=8B=A4=20=ED=81=AC?= =?UTF-8?q?=EA=B3=A0=20100.1=EB=B3=B4=EB=8B=A4=20=EC=9E=91=EC=9C=BC?= =?UTF-8?q?=EB=A9=B4=20=ED=86=B5=EA=B3=BC=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Live/Room/Routlette/Config/RouletteSettingsViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SodaLive/Sources/Live/Room/Routlette/Config/RouletteSettingsViewModel.swift b/SodaLive/Sources/Live/Room/Routlette/Config/RouletteSettingsViewModel.swift index 5701ba8..9fa5511 100644 --- a/SodaLive/Sources/Live/Room/Routlette/Config/RouletteSettingsViewModel.swift +++ b/SodaLive/Sources/Live/Room/Routlette/Config/RouletteSettingsViewModel.swift @@ -145,7 +145,7 @@ final class RouletteSettingsViewModel: ObservableObject { } } - if totalPercentage != Float(100) { + if totalPercentage > Float(100.1) || totalPercentage <= Float(99.99) { isLoading = false errorMessage = "확률이 100%가 아닙니다" isShowErrorPopup = true