mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
Update +page.markdoc
This commit is contained in:
@@ -106,7 +106,7 @@ fun IdeasScreen(
|
|||||||
Column(modifier = Modifier.padding(16.dp)) {
|
Column(modifier = Modifier.padding(16.dp)) {
|
||||||
Text(text = idea.data["title"]?.toString() ?: "", fontWeight = FontWeight(700))
|
Text(text = idea.data["title"]?.toString() ?: "", fontWeight = FontWeight(700))
|
||||||
Text(text = idea.data["description"]?.toString() ?: "")
|
Text(text = idea.data["description"]?.toString() ?: "")
|
||||||
if (user?.id == idea.data["userId"].toString())
|
if (user?.id == idea.data["userId"])
|
||||||
Button(onClick = { onRemove(idea.id) }) {
|
Button(onClick = { onRemove(idea.id) }) {
|
||||||
Text("Remove")
|
Text("Remove")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user