mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Fix compilation warning (due to Kotlin 1.4)
This commit is contained in:
parent
1a0dba7422
commit
e708b0f01b
1 changed files with 1 additions and 1 deletions
|
@ -105,6 +105,6 @@ private fun Versions.doesServerSeparatesAddAndBind(): Boolean {
|
|||
private fun Versions.getMaxVersion(): HomeServerVersion {
|
||||
return supportedVersions
|
||||
?.mapNotNull { HomeServerVersion.parse(it) }
|
||||
?.max()
|
||||
?.maxOrNull()
|
||||
?: HomeServerVersion.r0_0_0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue