mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
reverting a weekly view glitch, it causes more glitches
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user