From 1ddc88905322155fbc98b379172f959f6910c224 Mon Sep 17 00:00:00 2001 From: Joseph Cha Date: Tue, 20 Aug 2024 16:54:18 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B#297:=20Share=20Extension=20init?= =?UTF-8?q?=EC=8B=9C=20changingMusicViewClickEvent=20=ED=98=B8=EC=B6=9C?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=ED=98=84=EC=83=81=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 원래 changingMusicView 클릭 할때만 이벤트 발생해야함 --- StreetDrop/ShareExtension/View/ShareViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StreetDrop/ShareExtension/View/ShareViewController.swift b/StreetDrop/ShareExtension/View/ShareViewController.swift index b77f19b..ff08893 100644 --- a/StreetDrop/ShareExtension/View/ShareViewController.swift +++ b/StreetDrop/ShareExtension/View/ShareViewController.swift @@ -368,7 +368,7 @@ private extension ShareViewController { let input: ShareViewModel.Input = .init( viewDidLoadEvent: .just(Void()), sharedMusicKeyWordEvent: sharedMusicKeyWordEvent.asObservable(), - changingMusicViewClickEvent: changingMusicView.rx.tapGesture().asObservable().mapVoid(), + changingMusicViewClickEvent: changingMusicView.rx.tapGesture().when(.recognized).asObservable().mapVoid(), reSearchingEvent: reSearchingMusicForSharingView.reSearchingEvent, dropButtonClickEvent: dropButtonClickEvent.asObservable() )