|
|
|
|
@ -30,7 +30,9 @@ class StartChatFloatingActionButton extends StatelessWidget {
|
|
|
|
|
void _onPressed(BuildContext context) async {
|
|
|
|
|
//#Pangea
|
|
|
|
|
if (controller.activeSpaceId != null) {
|
|
|
|
|
context.go('/rooms/newgroup?spaceId=${controller.activeSpaceId ?? ''}');
|
|
|
|
|
context.go(
|
|
|
|
|
'/rooms/newgroup${controller.activeSpaceId != null ? '?spaceId=${controller.activeSpaceId}' : ''}',
|
|
|
|
|
);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//Pangea#
|
|
|
|
|
@ -44,7 +46,9 @@ class StartChatFloatingActionButton extends StatelessWidget {
|
|
|
|
|
case ActiveFilter.groups:
|
|
|
|
|
// #Pangea
|
|
|
|
|
// context.go('/rooms/newgroup');
|
|
|
|
|
context.go('/rooms/newgroup?spaceId=${controller.activeSpaceId ?? ''}');
|
|
|
|
|
context.go(
|
|
|
|
|
'/rooms/newgroup${controller.activeSpaceId != null ? '?spaceId=${controller.activeSpaceId}' : ''}',
|
|
|
|
|
);
|
|
|
|
|
// Pangea#
|
|
|
|
|
break;
|
|
|
|
|
case ActiveFilter.spaces:
|
|
|
|
|
|