feat: add button to create new chat directly in ChatScreen top bar actions
This commit is contained in:
1 parent
3ff148f6d0
commit
c1d0956a1d
1 file changed
+7
@@ -156,6 +156,13 @@ fun ChatScreen(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions = {
|
actions = {
|
||||||
|
IconButton(onClick = { viewModel.createNewSession() }) {
|
||||||
|
Icon(
|
||||||
|
imageVector = Icons.Filled.Add,
|
||||||
|
contentDescription = "New Chat",
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// Session picker
|
// Session picker
|
||||||
Box {
|
Box {
|
||||||
IconButton(onClick = {
|
IconButton(onClick = {
|
||||||
|
|||||||
Reference in new issue
Block a user