From 9190e1bfb5f12a5cb37c2d06188f042522a95d65 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 15 Jun 2021 11:22:44 +0200 Subject: [PATCH] Code Review Formatting --- .../features/spaces/create/CreateSpaceViewModelTask.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt b/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt index ae9ab4ca63..f1731caf76 100644 --- a/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt +++ b/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt @@ -58,8 +58,13 @@ class CreateSpaceViewModelTask @Inject constructor( override suspend fun execute(params: CreateSpaceTaskParams): CreateSpaceTaskResult { val spaceID = try { - session.spaceService().createSpace(params.spaceName, params.spaceTopic, params.spaceAvatar, - params.isPublic, params.spaceAlias) + session.spaceService().createSpace( + params.spaceName, + params.spaceTopic, + params.spaceAvatar, + params.isPublic, + params.spaceAlias + ) } catch (failure: Throwable) { return CreateSpaceTaskResult.FailedToCreateSpace(failure) }