Update MonthFragmentsHolder.kt
This commit is contained in:
parent
93ae0514b8
commit
9ed553b367
|
@ -149,6 +149,10 @@ class MonthFragmentsHolder : MyFragmentHolder(), NavigationListener {
|
|||
}
|
||||
|
||||
override fun getCurrentDate(): DateTime? {
|
||||
return if (currentDayCode != "") DateTime(Formatter.getDateTimeFromCode(currentDayCode).toString()) else null
|
||||
return if (currentDayCode != "") {
|
||||
DateTime(Formatter.getDateTimeFromCode(currentDayCode).toString())
|
||||
} else {
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue