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

Simplify pages system

This commit is contained in:
2020-05-10 18:29:43 +02:00
parent a53ae381dc
commit a119f60fdb
6 changed files with 247 additions and 304 deletions

View File

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