update chat screen

This commit is contained in:
2026-05-11 14:28:52 +07:00
parent 6f7c7ccd63
commit 5e2dfd447f
6 changed files with 294 additions and 49 deletions
@@ -130,7 +130,6 @@ fun App(dbPath: String) {
input.readBytes()
}
}
viewModel.createIdentity(name, bio, picture, contentType)
}
)
@@ -142,7 +141,10 @@ fun App(dbPath: String) {
}
composable<Screen.Chat> { backStackEntry ->
val chat: Screen.Chat = backStackEntry.toRoute()
ChatScreen(id = chat.id)
ChatScreen(
id = chat.id,
onBack = { navController.popBackStack() },
)
}
}
}