From f37d533636c85cb220b0b2e36ee50e516d2e7961 Mon Sep 17 00:00:00 2001 From: vrexpert Date: Wed, 3 Apr 2024 17:33:54 +0900 Subject: [PATCH] =?UTF-8?q?fest(festival):=207=20=EC=9D=B4=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=B6=84=ED=99=8D=EC=83=89=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adapter/festival/ArtistDetailFestivalViewHolder.kt | 2 +- .../festivallist/festival/FestivalListFestivalViewHolder.kt | 2 +- .../ui/schooldetail/SchoolDetailFestivalViewHolder.kt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/artistdetail/adapter/festival/ArtistDetailFestivalViewHolder.kt b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/artistdetail/adapter/festival/ArtistDetailFestivalViewHolder.kt index 35696e39c..59999b4c4 100644 --- a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/artistdetail/adapter/festival/ArtistDetailFestivalViewHolder.kt +++ b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/artistdetail/adapter/festival/ArtistDetailFestivalViewHolder.kt @@ -47,7 +47,7 @@ class ArtistDetailFestivalViewHolder(private val binding: ItemArtistDetailFestiv ) } - LocalDate.now() == item.startDate.minusDays(1) -> { + LocalDate.now() >= item.startDate.minusDays(7) -> { dDayView.text = context.getString( R.string.artist_detail_tv_dday_format, item.startDate.compareTo(LocalDate.now()).toString(), diff --git a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/home/festivallist/festival/FestivalListFestivalViewHolder.kt b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/home/festivallist/festival/FestivalListFestivalViewHolder.kt index 8ff856c0b..3ef86e217 100644 --- a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/home/festivallist/festival/FestivalListFestivalViewHolder.kt +++ b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/home/festivallist/festival/FestivalListFestivalViewHolder.kt @@ -49,7 +49,7 @@ class FestivalListFestivalViewHolder( ) } - LocalDate.now() == item.startDate.minusDays(1) -> { + LocalDate.now() >= item.startDate.minusDays(7) -> { dDayView.setTextColor(context.getColor(R.color.background_gray_01)) dDayView.text = context.getString( R.string.festival_list_tv_dday_format, diff --git a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/schooldetail/SchoolDetailFestivalViewHolder.kt b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/schooldetail/SchoolDetailFestivalViewHolder.kt index 8c145006c..e16c9bf28 100644 --- a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/schooldetail/SchoolDetailFestivalViewHolder.kt +++ b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/schooldetail/SchoolDetailFestivalViewHolder.kt @@ -15,7 +15,7 @@ import com.festago.festago.presentation.ui.schooldetail.uistate.FestivalItemUiSt import java.time.LocalDate class SchoolDetailFestivalViewHolder( - private val binding: ItemSchoolDetailFestivalBinding + private val binding: ItemSchoolDetailFestivalBinding, ) : RecyclerView.ViewHolder(binding.root) { private val artistAdapter = ArtistAdapter() @@ -46,7 +46,7 @@ class SchoolDetailFestivalViewHolder( ) } - LocalDate.now() == item.startDate.minusDays(1) -> { + LocalDate.now() >= item.startDate.minusDays(7) -> { dDayView.setTextColor(context.getColor(R.color.background_gray_01)) dDayView.text = context.getString( R.string.festival_list_tv_dday_format,