mirror of
https://github.com/InvertGeek/MixFile.git
synced 2026-06-08 23:43:23 +08:00
Update ShareCode.kt
This commit is contained in:
@@ -59,7 +59,7 @@ private val encodeMap = run {
|
||||
fun MixShareInfo.shareCode(useShortCode: Boolean): String {
|
||||
if (useShortCode) {
|
||||
return "mf://${encodeHex(this.toString())}${
|
||||
this.toString().substring(0, 8)
|
||||
this.toString().take(8)
|
||||
}"
|
||||
}
|
||||
return "mf://$this"
|
||||
|
||||
Reference in New Issue
Block a user