Skip to content

Commit

Permalink
PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Oct 11, 2023
1 parent 4e9e8f3 commit 80b2fb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ElementX/Sources/Application/AppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate,

// MARK: - WindowManagerDelegate

func windowManager(_ windowManager: WindowManager, didConfigureWith windowScene: UIWindowScene) {
func windowManagerDidConfigureWindows(_ windowManager: WindowManager) {
windowManager.alternateWindow.rootViewController = UIHostingController(rootView: appLockFlowCoordinator.toPresentable())
}

Expand Down
4 changes: 2 additions & 2 deletions ElementX/Sources/Application/Windowing/WindowManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import Combine
import SwiftUI

protocol WindowManagerDelegate: AnyObject {
/// The window manager has been configured with the following scene.
func windowManager(_ windowManager: WindowManager, didConfigureWith windowScene: UIWindowScene)
/// The window manager has configured its windows.
func windowManagerDidConfigureWindows(_ windowManager: WindowManager)
}

@MainActor
Expand Down

0 comments on commit 80b2fb1

Please sign in to comment.