Revert "Release/1.18.5 (#1536)"

This reverts commit 8c4bd9b448.
This commit is contained in:
ThomasSession
2024-07-09 14:07:25 +10:00
committed by GitHub
parent 8c4bd9b448
commit ad0b1a9db7
5 changed files with 5 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
package org.session.libsession.utilities
fun truncateIdForDisplay(id: String): String =
id.takeIf { it.length > 8 }?.run{ "${take(4)}${takeLast(4)}" } ?: id
id.takeIf { it.length > 8 }?.apply{ "${take(4)}${takeLast(4)}" } ?: id