what-the-bank/sources/o/C12478eyv.java

37 lines
1.3 KiB
Java

package o;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import com.prolificinteractive.materialcalendarview.CalendarDay;
import com.prolificinteractive.materialcalendarview.DayViewDecorator;
import com.prolificinteractive.materialcalendarview.DayViewFacade;
/* renamed from: o.eyv, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12478eyv implements DayViewDecorator {
private boolean b;
private Resources c;
private final CalendarDay d;
public C12478eyv(Resources resources, CalendarDay calendarDay, boolean z) {
this.c = resources;
this.d = calendarDay;
this.b = z;
}
@Override // com.prolificinteractive.materialcalendarview.DayViewDecorator
public final boolean shouldDecorate(CalendarDay calendarDay) {
CalendarDay calendarDay2 = this.d;
return calendarDay2 != null && calendarDay.equals(calendarDay2);
}
@Override // com.prolificinteractive.materialcalendarview.DayViewDecorator
public final void decorate(DayViewFacade dayViewFacade) {
Drawable nZ_ = kVs.nZ_(this.c, com.scb.phone.R.drawable.shape_circle_purple_border, null);
if (nZ_ != null) {
dayViewFacade.setBackgroundDrawable(nZ_);
dayViewFacade.setDaysDisabled(this.b);
}
}
}