diff --git a/StreetDrop/StreetDrop/Presentation/MainScene/View/MainViewController.swift b/StreetDrop/StreetDrop/Presentation/MainScene/View/MainViewController.swift index 8da0ea8b..2f11d586 100644 --- a/StreetDrop/StreetDrop/Presentation/MainScene/View/MainViewController.swift +++ b/StreetDrop/StreetDrop/Presentation/MainScene/View/MainViewController.swift @@ -205,6 +205,7 @@ final class MainViewController: UIViewController, Toastable { private lazy var bubbleCommentView: BubbleCommentView = { let view = BubbleCommentView() + view.configure(with: "음악을 드랍해보세요!") view.isHidden = true return view }() @@ -508,9 +509,8 @@ private extension MainViewController { .disposed(by: disposeBag) output.showFirstComment - .bind(with: self) { owner, comment in + .bind(with: self) { owner, _ in owner.bubbleCommentView.isHidden = false - owner.bubbleCommentView.configure(with: comment) } .disposed(by: disposeBag) } diff --git a/StreetDrop/StreetDrop/Presentation/MainScene/ViewModel/MainViewModel.swift b/StreetDrop/StreetDrop/Presentation/MainScene/ViewModel/MainViewModel.swift index ead1ca72..34692f24 100644 --- a/StreetDrop/StreetDrop/Presentation/MainScene/ViewModel/MainViewModel.swift +++ b/StreetDrop/StreetDrop/Presentation/MainScene/ViewModel/MainViewModel.swift @@ -66,7 +66,7 @@ extension MainViewModel { let musicWithinArea = BehaviorRelay(value: []) let cameraShouldGoCurrentLocation = PublishRelay() let tappedPOIIndex = PublishRelay() - let showFirstComment = PublishRelay() + let showFirstComment = PublishRelay() } } @@ -268,7 +268,7 @@ private extension MainViewModel { func checkAppFirstLaunched(output: Output) { let isLaunchedBefore = myInfoUseCase.checkLaunchedBefore() if isLaunchedBefore == false { - output.showFirstComment.accept("음악을 드랍해보세요!") + output.showFirstComment.accept(Void()) } } }