add:add post detail page

This commit is contained in:
2024-07-13 18:29:36 +08:00
parent 387d3cc048
commit 7a89453eb0
3 changed files with 326 additions and 1 deletions

View File

@@ -280,7 +280,9 @@ fun LocationDetail() {
painter = painterResource(id = item.resId),
contentDescription = "Feed",
modifier = Modifier.fillMaxWidth()
.clip(MaterialTheme.shapes.medium),
.clip(MaterialTheme.shapes.medium).clickable {
navController.navigate("Post")
},
contentScale = ContentScale.FillWidth
)
Spacer(modifier = Modifier.height(8.dp))