reverting a weekly view glitch, it causes more glitches

This commit is contained in:
tibbi 2021-04-15 19:14:38 +02:00
parent e7aa292382
commit f9c8b26271
1 changed files with 1 additions and 1 deletions

View File

@ -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)