mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 16:30:49 +00:00
Fixes null list names showing before the list is loaded
This commit is contained in:
parent
7322fd7aae
commit
c692c9125b
@ -809,7 +809,7 @@ fun RenderOption(option: Name) {
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
val name by option.note.live().metadata.map {
|
||||
"/n/" + (it.note as? AddressableNote)?.dTag()
|
||||
"/n/" + ((it.note as? AddressableNote)?.dTag() ?: "")
|
||||
}.observeAsState()
|
||||
|
||||
Text(text = name ?: "", color = MaterialTheme.colorScheme.onSurface)
|
||||
|
Loading…
Reference in New Issue
Block a user