mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 22:26:26 +02:00
Allows users to select and copy the notice from the relay on the relay list dialog
This commit is contained in:
@@ -286,20 +286,22 @@ fun RelayInformationDialog(
|
|||||||
|
|
||||||
items(messages) { msg ->
|
items(messages) { msg ->
|
||||||
Row {
|
Row {
|
||||||
TranslatableRichTextViewer(
|
SelectionContainer {
|
||||||
content =
|
TranslatableRichTextViewer(
|
||||||
remember {
|
content =
|
||||||
"${timeAgo(msg.time, context)}, ${msg.type.name}: ${msg.message}"
|
remember {
|
||||||
},
|
"${timeAgo(msg.time, context)}, ${msg.type.name}: ${msg.message}"
|
||||||
canPreview = false,
|
},
|
||||||
quotesLeft = 0,
|
canPreview = false,
|
||||||
modifier = Modifier.fillMaxWidth(),
|
quotesLeft = 0,
|
||||||
tags = EmptyTagList,
|
modifier = Modifier.fillMaxWidth(),
|
||||||
backgroundColor = color,
|
tags = EmptyTagList,
|
||||||
id = msg.hashCode().toString(),
|
backgroundColor = color,
|
||||||
accountViewModel = accountViewModel,
|
id = msg.hashCode().toString(),
|
||||||
nav = nav,
|
accountViewModel = accountViewModel,
|
||||||
)
|
nav = nav,
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer(modifier = StdVertSpacer)
|
Spacer(modifier = StdVertSpacer)
|
||||||
|
Reference in New Issue
Block a user