From d18a2fc4f1005337449048c2e89959fd534881dd Mon Sep 17 00:00:00 2001 From: HamBP Date: Fri, 17 Jan 2025 22:43:15 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EB=B9=88=20=EB=AC=B8=EC=9E=90?= =?UTF-8?q?=EC=97=B4=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nexters/boolti/data/datasource/PopupDataSource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/src/main/java/com/nexters/boolti/data/datasource/PopupDataSource.kt b/data/src/main/java/com/nexters/boolti/data/datasource/PopupDataSource.kt index cc11d0fb..b0893ecd 100644 --- a/data/src/main/java/com/nexters/boolti/data/datasource/PopupDataSource.kt +++ b/data/src/main/java/com/nexters/boolti/data/datasource/PopupDataSource.kt @@ -20,7 +20,7 @@ internal class PopupDataSource @Inject constructor( suspend fun getPopup(): PopupResponse = service.getPopup() fun shouldShowEvent(): Flow = dataStore.data.map { - it.dateHidingEvent == null || LocalDate.now() > it.dateHidingEvent.toLocalDate() + it.dateHidingEvent.isNullOrBlank() || LocalDate.now() > it.dateHidingEvent.toLocalDate() }