mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-29 11:11:44 +01:00
Removing favicons from proxy
This commit is contained in:
parent
de302eb966
commit
943d4525be
@ -289,8 +289,8 @@ private fun RelayBadges(baseNote: Note) {
|
||||
relaysToDisplay.forEach {
|
||||
val url = it.removePrefix("wss://")
|
||||
Box(Modifier.size(15.dp).padding(1.dp)) {
|
||||
AsyncImageProxy(
|
||||
model = ResizeImage("https://${url}/favicon.ico", 15.dp),
|
||||
AsyncImage(
|
||||
model = "https://${url}/favicon.ico",
|
||||
placeholder = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
fallback = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
error = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
|
@ -340,8 +340,8 @@ private fun RelayBadges(baseNote: Note) {
|
||||
Modifier
|
||||
.size(15.dp)
|
||||
.padding(1.dp)) {
|
||||
AsyncImageProxy(
|
||||
model = ResizeImage("https://${url}/favicon.ico", 15.dp),
|
||||
AsyncImage(
|
||||
model = "https://${url}/favicon.ico",
|
||||
placeholder = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
fallback = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
error = BitmapPainter(RoboHashCache.get(ctx, url)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user