From 79c59311b45081ea2ce035aa6ac826a8094ebf18 Mon Sep 17 00:00:00 2001 From: AhnSangHoon Date: Tue, 30 Aug 2022 20:41:35 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20=EB=A7=88=EA=B0=90=EC=9E=84?= =?UTF-8?q?=EB=B0=95=20=ED=83=80=EC=9D=B4=EB=A8=B8=20=EC=A2=85=EB=A3=8C=20?= =?UTF-8?q?=ED=9B=84=20Action=20delay=20=EC=B6=94=EA=B0=80=20(#199)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/App/Sources/Main/MainViewModel.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Projects/App/Sources/Main/MainViewModel.swift b/Projects/App/Sources/Main/MainViewModel.swift index e934ff1..5147f44 100644 --- a/Projects/App/Sources/Main/MainViewModel.swift +++ b/Projects/App/Sources/Main/MainViewModel.swift @@ -191,10 +191,11 @@ extension MainViewModel { }) .disposed(by: disposeBag) - // 마감 시간이 지나고 바로 리스트 재요청 시 그대로 남아있는 이슈가 있음 - // 따라서 delay 500ms를 추가함 + /// 마감 시간이 지나고 바로 리스트 재요청 시 그대로 남아있는 이슈가 있음 + /// 따라서 delay 1초를 추가함 + /// - Note: https://github.com/mash-up-kr/GGiriGGiri_iOS/issues/199 mainDataSource.didDeadLineCountdownTimeOver - .delay(.milliseconds(500), scheduler: MainScheduler.instance) + .delay(.seconds(1), scheduler: MainScheduler.instance) .subscribe(onNext: { [weak self] in self?.reload() })