correctly mark todays date on event list view

This commit is contained in:
tibbi 2017-01-04 15:28:58 +01:00
parent dca5e61dbb
commit 1d06261604
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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"