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

35 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.eyy, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12481eyy implements DayViewDecorator {
private final CalendarDay a;
private Resources c;
public C12481eyy(Resources resources, CalendarDay calendarDay) {
this.c = resources;
this.a = calendarDay;
}
@Override // com.prolificinteractive.materialcalendarview.DayViewDecorator
public final boolean shouldDecorate(CalendarDay calendarDay) {
CalendarDay calendarDay2 = this.a;
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_light_purple, null);
if (nZ_ != null) {
dayViewFacade.setBackgroundDrawable(nZ_);
}
dayViewFacade.setDaysDisabled(true);
}
}