mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Update MonthFragmentsHolder.kt
This commit is contained in:
@ -149,6 +149,10 @@ class MonthFragmentsHolder : MyFragmentHolder(), NavigationListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun getCurrentDate(): DateTime? {
|
override fun getCurrentDate(): DateTime? {
|
||||||
return if (currentDayCode != "") DateTime(Formatter.getDateTimeFromCode(currentDayCode).toString()) else null
|
return if (currentDayCode != "") {
|
||||||
|
DateTime(Formatter.getDateTimeFromCode(currentDayCode).toString())
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user