several warnings fixes

This commit is contained in:
2022-04-27 15:15:03 +06:00
parent 8364020671
commit 175dd980f8
10 changed files with 24 additions and 5 deletions

View File

@@ -27,4 +27,5 @@ inline fun <T> PaginationResult<T>.thisPageIfNotEmpty(): PaginationResult<T>? =
null
}
@Suppress("NOTHING_TO_INLINE")
inline fun <T> PaginationResult<T>.currentPageIfNotEmpty() = thisPageIfNotEmpty()