mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-09 18:42:37 +02:00
Getting Relay icons from non SSL-secured relays
This commit is contained in:
@@ -332,7 +332,7 @@ private fun RelayBadges(baseNote: Note) {
|
|||||||
|
|
||||||
FlowRow(Modifier.padding(top = 10.dp, start = 5.dp, end = 4.dp)) {
|
FlowRow(Modifier.padding(top = 10.dp, start = 5.dp, end = 4.dp)) {
|
||||||
relaysToDisplay.forEach {
|
relaysToDisplay.forEach {
|
||||||
val url = it.removePrefix("wss://")
|
val url = it.removePrefix("wss://").removePrefix("ws://")
|
||||||
Box(
|
Box(
|
||||||
Modifier
|
Modifier
|
||||||
.size(15.dp)
|
.size(15.dp)
|
||||||
|
Reference in New Issue
Block a user