mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Have the UserIndicatorController use a separate window, switch to using one single instance throughout the application
This commit is contained in:
committed by
Stefan Ceriu
parent
1102beb3dd
commit
4b26a798dc
@@ -44,7 +44,7 @@ class CreateRoomScreenViewModelTests: XCTestCase {
|
||||
createRoomParameters: .init(parameters),
|
||||
selectedUsers: usersSubject.asCurrentValuePublisher(),
|
||||
analytics: ServiceLocator.shared.analytics,
|
||||
userIndicatorController: nil)
|
||||
userIndicatorController: UserIndicatorControllerMock())
|
||||
self.viewModel = viewModel
|
||||
|
||||
viewModel.actions.sink { [weak self] action in
|
||||
|
||||
@@ -39,7 +39,7 @@ class StartChatScreenViewModelTests: XCTestCase {
|
||||
viewModel = StartChatScreenViewModel(userSession: userSession,
|
||||
appSettings: ServiceLocator.shared.settings,
|
||||
analytics: ServiceLocator.shared.analytics,
|
||||
userIndicatorController: nil,
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
userDiscoveryService: userDiscoveryService)
|
||||
|
||||
AppSettings.reset()
|
||||
|
||||
@@ -25,7 +25,7 @@ class UserIndicatorControllerTests: XCTestCase {
|
||||
private var indicatorController: UserIndicatorController!
|
||||
|
||||
override func setUp() {
|
||||
indicatorController = UserIndicatorController(rootCoordinator: PlaceholderScreenCoordinator())
|
||||
indicatorController = UserIndicatorController()
|
||||
}
|
||||
|
||||
func testIndicatorQueueing() {
|
||||
|
||||
Reference in New Issue
Block a user