mirror of
https://github.com/f-droid/fdroidclient.git
synced 2025-12-23 23:27:44 -05:00
[download] mirror share uri: fingerprint is non-null now
This commit is contained in:
@@ -36,9 +36,8 @@ public data class Mirror @JvmOverloads constructor(
|
||||
return URLBuilder(url).appendPathSegments(path.trimStart('/')).build()
|
||||
}
|
||||
|
||||
public fun getFDroidLinkUrl(repoFingerprint: String?): String {
|
||||
val fpr = repoFingerprint?.let { "?fingerprint=$repoFingerprint" } ?: ""
|
||||
return "https://fdroid.link/#$url$fpr"
|
||||
public fun getFDroidLinkUrl(repoFingerprint: String): String {
|
||||
return "https://fdroid.link/#$url?fingerprint=$repoFingerprint"
|
||||
}
|
||||
|
||||
public fun isOnion(): Boolean = url.isOnion()
|
||||
|
||||
Reference in New Issue
Block a user