fix #1332, fixing a weekly view glitch
This commit is contained in:
parent
2455a0fe97
commit
40783684db
|
@ -2,4 +2,4 @@ package com.simplemobiletools.calendar.pro.extensions
|
||||||
|
|
||||||
import android.util.Range
|
import android.util.Range
|
||||||
|
|
||||||
fun Range<Int>.touch(other: Range<Int>) = (upper > other.lower && lower < other.upper) || (other.upper > lower && other.lower < upper)
|
fun Range<Int>.touch(other: Range<Int>) = (upper >= other.lower && lower <= other.upper) || (other.upper >= lower && other.lower <= upper)
|
||||||
|
|
Loading…
Reference in New Issue