This commit is contained in:
Syer10
2023-04-08 13:36:28 -04:00
parent a4dfcf80e4
commit 0e84b8a154
2 changed files with 1 additions and 3 deletions

View File

@@ -121,7 +121,6 @@ interface Filter<T : Filter<T>> : HasGetOp {
}
return op
}
}
interface ScalarFilter<T> {

View File

@@ -14,7 +14,6 @@ interface OrderBy<T> {
fun less(cursor: Cursor): Op<Boolean>
}
fun SortOrder?.maybeSwap(value: Any?): SortOrder {
return if (value != null) {
when (this) {
@@ -29,4 +28,4 @@ fun SortOrder?.maybeSwap(value: Any?): SortOrder {
} else {
this ?: SortOrder.ASC
}
}
}