diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt index 39d4ddd26..b6ce26411 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt @@ -51,14 +51,7 @@ class MonthDayFragment : Fragment(), MonthlyCalendar { mDayCode = arguments!!.getString(DAY_CODE)!! val shownMonthDateTime = Formatter.getDateTimeFromCode(mDayCode) - val todayCode = Formatter.getTodayCode() - val todayDateTime = Formatter.getDateTimeFromCode(todayCode) - mSelectedDayCode = if (todayDateTime.year == shownMonthDateTime.year && todayDateTime.monthOfYear == shownMonthDateTime.monthOfYear) { - todayCode - } else { - mHolder.month_day_selected_day_label.text = getMonthLabel(shownMonthDateTime) - "" - } + mHolder.month_day_selected_day_label.text = getMonthLabel(shownMonthDateTime) mConfig = context!!.config storeStateVariables()