fix #1332, fixing a weekly view glitch

This commit is contained in:
tibbi 2021-04-14 22:23:30 +02:00
parent 2455a0fe97
commit 40783684db
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)