1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can create new conversations

This commit is contained in:
2020-05-09 14:38:58 +02:00
parent 27176531cf
commit c262e40e81
4 changed files with 13 additions and 5 deletions

View File

@ -116,7 +116,9 @@ class _ConversationScreenState extends SafeState<ConversationsListScreen> {
/// Create a new conversation
void _createConversation() {
MainController.of(context).push(CreateConversationScreen());
MainController.of(context)
.push(CreateConversationScreen(), allowAsDialog: true);
if (widget.onOpen != null) widget.onOpen();
}
/// Handle conversations updated requests