Skip to content

Commit

Permalink
Today selection issue fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tizisdeepan committed Aug 7, 2019
1 parent 2ae462f commit bd99944
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import android.util.AttributeSet
import android.util.TypedValue
import android.view.MotionEvent
import android.view.View
import android.view.View.OnLongClickListener
import com.events.calendar.R
import com.events.calendar.utils.EventsCalendarUtil
import java.util.*
import kotlin.math.min
import android.util.TypedValue

@Suppress("NAME_SHADOWING")
class DateText : View {
Expand Down Expand Up @@ -87,6 +87,7 @@ class DateText : View {
isCurrentMonth = attributes.getBoolean(R.styleable.DateText_isCurrentMonth, false)
isSelected = attributes.getBoolean(R.styleable.DateText_isSelected, false)
hasEvent = attributes.getBoolean(R.styleable.DateText_hasEvent, false)
isToday = attributes.getBoolean(R.styleable.DateText_isToday, false)
isPast = attributes.getBoolean(R.styleable.DateText_isPast, false)
} finally {
attributes.recycle()
Expand Down

0 comments on commit bd99944

Please sign in to comment.