Skip to content

Commit d95a894

Browse files
committed
clear input bar text when switching conversation
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 69e2112 commit d95a894

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/nextcloud/client/assistant/AssistantScreen.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ fun AssistantScreen(
165165
pagerState.scrollToPage(AssistantPage.Content.id)
166166
}
167167
}, openChat = { conversation ->
168+
viewModel.updateInputBarText("")
168169
chatViewModel.updateSessionTitle(conversation.timestamp)
169170
chatViewModel.selectConversation(conversation.id)
170171
taskTypes.getChat()?.let { chatTaskType ->

0 commit comments

Comments
 (0)