wergle
wergle6mo ago

wergle - Working with the FlutterFlow Streaming...

Working with the FlutterFlow Streaming Assistant template where chats are stored in Firestore chats collection. I am trying to implement deleting a chat document. I am able to delete the document through a button icon in the appbar which makes a backend call. But I cannot figure out how to start a new chat. When the document is deleted, the listview (containing the chat conversation) displays a loading indicator. It seems the listview showing the chat conversation needs to be reset to the state when the page first loads.
Solution:
Never mind. I added an action to update the app state threadId and set the update type to Clear Value.
Jump to solution
1 Reply
Solution
wergle
wergle6mo ago
Never mind. I added an action to update the app state threadId and set the update type to Clear Value.