From 0390082cd400c1988a3752252c1278501d354db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Junnos=20=EF=A3=BF?= Date: Wed, 10 Jan 2024 17:56:19 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=EC=97=AC=EA=B8=B0=EC=84=9C=20?= =?UTF-8?q?=EB=8B=A4=EC=8B=9C=20=EA=B2=80=EC=83=89=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=EC=9D=B4=20=EC=97=AC=EC=A0=95=20=EA=B8=B0=EB=A1=9D=20=EC=A4=91?= =?UTF-8?q?=EC=97=90=20=EB=B3=B4=EC=97=AC=EC=A7=80=EB=8D=98=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Sources/Home/Presentation/HomeViewController.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iOS/Features/Home/Sources/Home/Presentation/HomeViewController.swift b/iOS/Features/Home/Sources/Home/Presentation/HomeViewController.swift index b41085a..4eddc51 100644 --- a/iOS/Features/Home/Sources/Home/Presentation/HomeViewController.swift +++ b/iOS/Features/Home/Sources/Home/Presentation/HomeViewController.swift @@ -170,9 +170,10 @@ public final class HomeViewController: HomeBottomSheetViewController { self.viewModel.state.isRefreshButtonHidden .removeDuplicates(by: { $0 == $1 }) + .combineLatest(self.viewModel.state.isRecording) .receive(on: DispatchQueue.main) - .sink { [weak self] isHidden in - self?.refreshButton.isHidden = isHidden + .sink { [weak self] isHidden, isRecording in + self?.refreshButton.isHidden = (isHidden && !isRecording) } .store(in: &self.cancellables)