summaryrefslogtreecommitdiff
path: root/src/com/android/calendar/CalendarViewAdapter.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/calendar/CalendarViewAdapter.kt')
-rw-r--r--src/com/android/calendar/CalendarViewAdapter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/CalendarViewAdapter.kt b/src/com/android/calendar/CalendarViewAdapter.kt
index 2fe10272..44590b8f 100644
--- a/src/com/android/calendar/CalendarViewAdapter.kt
+++ b/src/com/android/calendar/CalendarViewAdapter.kt
@@ -133,7 +133,7 @@ class CalendarViewAdapter(context: Context, viewType: Int, showDate: Boolean) :
v = convertView
}
val weekDay: TextView = v?.findViewById(R.id.top_button_weekday) as TextView
- val date: TextView = v?.findViewById(R.id.top_button_date) as TextView
+ val date: TextView = v.findViewById(R.id.top_button_date) as TextView
when (mCurrentMainView) {
ViewType.DAY -> {
weekDay.setVisibility(View.VISIBLE)