diff --git a/Kurly/Kurly/Presentation/Detail/ViewControllers/DetailViewController.swift b/Kurly/Kurly/Presentation/Detail/ViewControllers/DetailViewController.swift index e6fe536..1aa74c7 100644 --- a/Kurly/Kurly/Presentation/Detail/ViewControllers/DetailViewController.swift +++ b/Kurly/Kurly/Presentation/Detail/ViewControllers/DetailViewController.swift @@ -163,6 +163,10 @@ extension DetailViewController { self.notifyRemoveToastView.downToastView() } } + + DispatchQueue.main.asyncAfter(deadline: .now() + 3.0) { + self.notifyRemoveToastView.removeFromSuperview() + } } } diff --git a/Kurly/Kurly/Presentation/RelatedFoodModal/ViewControllers/RelatedFoodModalViewController.swift b/Kurly/Kurly/Presentation/RelatedFoodModal/ViewControllers/RelatedFoodModalViewController.swift index 0ef534f..99918e6 100644 --- a/Kurly/Kurly/Presentation/RelatedFoodModal/ViewControllers/RelatedFoodModalViewController.swift +++ b/Kurly/Kurly/Presentation/RelatedFoodModal/ViewControllers/RelatedFoodModalViewController.swift @@ -68,5 +68,9 @@ extension RelatedFoodModalViewController { self.relatedFoodModalView.notifyAddToastView.downToastView() } } + + DispatchQueue.main.asyncAfter(deadline: .now() + 3.0) { + self.relatedFoodModalView.notifyAddToastView.removeFromSuperview() + } } }