correctly mark todays date on event list view
This commit is contained in:
parent
dca5e61dbb
commit
1d06261604
|
@ -54,7 +54,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
|
|||
topDivider = activity.resources.getDrawable(R.drawable.divider)
|
||||
primaryColor = config.primaryColor
|
||||
val mTodayCode = Formatter.getDayCodeFromTS(mNow)
|
||||
todayDate = Formatter.getDate(activity, mTodayCode)
|
||||
todayDate = Formatter.getDayTitle(activity, mTodayCode)
|
||||
}
|
||||
|
||||
val multiSelectorMode = object : ModalMultiSelectorCallback(multiSelector) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
android:paddingLeft="@dimen/activity_margin"
|
||||
android:paddingTop="@dimen/medium_margin"/>
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
<TextView
|
||||
android:id="@+id/widget_event_list_empty"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
Loading…
Reference in New Issue