mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Rename "Auxiliary" windows to "Secondary" windows
This commit is contained in:
committed by
Stefan Ceriu
parent
ec9cf76f2d
commit
4abf9112f4
@@ -189,9 +189,9 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
|
||||
windowManager.auxiliaryWindowsEnabled = !appLockService.isEnabled
|
||||
windowManager.secondaryWindowsEnabled = !appLockService.isEnabled
|
||||
appLockService.isEnabledPublisher.sink { [weak windowManager] appLockEnabled in
|
||||
windowManager?.auxiliaryWindowsEnabled = !appLockEnabled
|
||||
windowManager?.secondaryWindowsEnabled = !appLockEnabled
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
}
|
||||
@@ -240,7 +240,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
return true
|
||||
}
|
||||
|
||||
func handleAppRoute(_ appRoute: AppRoute, windowType: WindowManagerWindowType?) {
|
||||
func handleAppRoute(_ appRoute: AppRoute, windowType: SecondaryWindowType?) {
|
||||
if let windowType {
|
||||
windowManager.handleRoute(appRoute, windowType: windowType)
|
||||
return
|
||||
@@ -266,7 +266,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
}
|
||||
}
|
||||
|
||||
func handleDeepLink(_ url: URL, isExternalURL: Bool, windowType: WindowManagerWindowType?) -> Bool {
|
||||
func handleDeepLink(_ url: URL, isExternalURL: Bool, windowType: SecondaryWindowType?) -> Bool {
|
||||
// Parse into an AppRoute to redirect these in a type safe way.
|
||||
|
||||
if let route = appRouteURLParser.route(from: url) {
|
||||
@@ -799,7 +799,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
fatalError("User session not setup")
|
||||
}
|
||||
|
||||
windowManager.closeAllAuxiliaryWindows()
|
||||
windowManager.closeAllSecondaryWindows()
|
||||
|
||||
showLoadingIndicator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user