From e7310996ca51fe23d9db2f596bb2dafb4e7b6b2f Mon Sep 17 00:00:00 2001 From: Gil Eluard Date: Thu, 17 Feb 2022 10:35:23 +0100 Subject: [PATCH] Update RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> --- .../AddRoomSelector/Service/AddRoomItemsProcessor.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift b/RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift index b77a58008..9e194ff7f 100644 --- a/RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift +++ b/RiotSwiftUI/Modules/Spaces/AddRoomSelector/Service/AddRoomItemsProcessor.swift @@ -44,8 +44,8 @@ class AddRoomItemsProcessor: MatrixItemChooserProcessorProtocol { // MARK: Private - // Add room with roomId from list of room IDs at index to the parentSpace. - // Recurse to the next index once done. + /// Add room with roomId from list of room IDs at index to the parentSpace. + /// Recurse to the next index once done. func addChild(from roomIds: [String], at index: Int, completion: @escaping (Result) -> Void) { guard index < roomIds.count else { // last item has been processed or list is empty --> the recursion has finished