mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-11 17:33:46 +01:00
Legals: only display external URLs.
This commit is contained in:
parent
5823777755
commit
eed7d15b0e
@ -115,7 +115,7 @@ class LegalsController @Inject constructor(
|
|||||||
discoveryPolicyItem {
|
discoveryPolicyItem {
|
||||||
id(tag + policy.url)
|
id(tag + policy.url)
|
||||||
name(policy.name)
|
name(policy.name)
|
||||||
url(policy.url)
|
url(policy.url.takeIf { it.startsWith("http") })
|
||||||
clickListener { host.listener?.openPolicy(policy) }
|
clickListener { host.listener?.openPolicy(policy) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user