diff --git a/Riot/Modules/TabBar/TabBarCoordinator.swift b/Riot/Modules/TabBar/TabBarCoordinator.swift index 5b7493b13..157a7cb86 100644 --- a/Riot/Modules/TabBar/TabBarCoordinator.swift +++ b/Riot/Modules/TabBar/TabBarCoordinator.swift @@ -18,18 +18,6 @@ import UIKit -/// TabBarCoordinator input parameters -class TabBarCoordinatorParameters { - - let userSessionsService: UserSessionsService - let appNavigator: AppNavigatorProtocol - - init(userSessionsService: UserSessionsService, appNavigator: AppNavigatorProtocol) { - self.userSessionsService = userSessionsService - self.appNavigator = appNavigator - } -} - @objcMembers final class TabBarCoordinator: NSObject, TabBarCoordinatorType { diff --git a/Riot/Modules/TabBar/TabBarCoordinatorParameters.swift b/Riot/Modules/TabBar/TabBarCoordinatorParameters.swift new file mode 100644 index 000000000..940a84145 --- /dev/null +++ b/Riot/Modules/TabBar/TabBarCoordinatorParameters.swift @@ -0,0 +1,29 @@ +// +// Copyright 2021 New Vector Ltd +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +import Foundation + +/// TabBarCoordinator input parameters +class TabBarCoordinatorParameters { + + let userSessionsService: UserSessionsService + let appNavigator: AppNavigatorProtocol + + init(userSessionsService: UserSessionsService, appNavigator: AppNavigatorProtocol) { + self.userSessionsService = userSessionsService + self.appNavigator = appNavigator + } +}