Fix typo
This commit is contained in:
parent
5bdd5e8cec
commit
400c8003e5
|
@ -816,7 +816,7 @@ fun Context.getShortDaysFromBitmask(bitMask: Int): String {
|
|||
|
||||
fun <T> Context.withFirstDayOfWeekToFront(weekItems: Collection<T>): ArrayList<T> {
|
||||
val firstDayOfWeek = config.firstDayOfWeek
|
||||
if (firstDayOfWeek != DateTimeConstants.MONDAY) {
|
||||
if (firstDayOfWeek == DateTimeConstants.MONDAY) {
|
||||
return weekItems.toMutableList() as ArrayList<T>
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue