Skip to content

Commit

Permalink
feat : 빈 문자열 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
HamBP committed Jan 17, 2025
1 parent 0736dc9 commit d18a2fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal class PopupDataSource @Inject constructor(
suspend fun getPopup(): PopupResponse = service.getPopup()

fun shouldShowEvent(): Flow<Boolean> = dataStore.data.map {
it.dateHidingEvent == null || LocalDate.now() > it.dateHidingEvent.toLocalDate()
it.dateHidingEvent.isNullOrBlank() || LocalDate.now() > it.dateHidingEvent.toLocalDate()
}


Expand Down

0 comments on commit d18a2fc

Please sign in to comment.