From e7c3bdd0d822f8e28c0590991003654a7972d826 Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Mon, 20 Dec 2021 20:44:48 +0100 Subject: [PATCH] Update YearFragmentsHolder.kt --- .../calendar/pro/fragments/YearFragmentsHolder.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/YearFragmentsHolder.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/YearFragmentsHolder.kt index 1964cc445..9d82b3717 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/YearFragmentsHolder.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/YearFragmentsHolder.kt @@ -13,7 +13,9 @@ import com.simplemobiletools.calendar.pro.R import com.simplemobiletools.calendar.pro.activities.MainActivity import com.simplemobiletools.calendar.pro.adapters.MyYearPagerAdapter import com.simplemobiletools.calendar.pro.extensions.config -import com.simplemobiletools.calendar.pro.helpers.* +import com.simplemobiletools.calendar.pro.helpers.Formatter +import com.simplemobiletools.calendar.pro.helpers.YEARLY_VIEW +import com.simplemobiletools.calendar.pro.helpers.YEAR_TO_OPEN import com.simplemobiletools.commons.extensions.beGone import com.simplemobiletools.commons.extensions.getDialogTheme import com.simplemobiletools.commons.extensions.setupDialogStuff @@ -134,7 +136,5 @@ class YearFragmentsHolder : MyFragmentHolder() { (viewPager?.adapter as? MyYearPagerAdapter)?.printCurrentView(viewPager?.currentItem ?: 0) } - override fun getCurrentDate(): DateTime? { - return null - } + override fun getCurrentDate() = null }