diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2025-01-14 11:49:21 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2025-01-14 11:49:21 +0100 |
| commit | ed0b9cd0283e26e216fbb7edf5cd6e5bcf042cde (patch) | |
| tree | 6fc5be4a68ffde2337d1bc3bb516ff46144a07be /ios/Routing/Router/ApplicationRouterDelegate.swift | |
| parent | d2949b4a0b1d3d86a25de1569dc8308c9d7fe237 (diff) | |
| parent | e71db0cfc12bd561532b73722983175edab2482c (diff) | |
| download | mullvadvpn-ed0b9cd0283e26e216fbb7edf5cd6e5bcf042cde.tar.xz mullvadvpn-ed0b9cd0283e26e216fbb7edf5cd6e5bcf042cde.zip | |
Merge branch 'fix-warnings-introduced-by-xcode-16-ios-741'
Diffstat (limited to 'ios/Routing/Router/ApplicationRouterDelegate.swift')
| -rw-r--r-- | ios/Routing/Router/ApplicationRouterDelegate.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ios/Routing/Router/ApplicationRouterDelegate.swift b/ios/Routing/Router/ApplicationRouterDelegate.swift index a98870d303..2200066a1f 100644 --- a/ios/Routing/Router/ApplicationRouterDelegate.swift +++ b/ios/Routing/Router/ApplicationRouterDelegate.swift @@ -11,7 +11,7 @@ import Foundation /** Application router delegate */ -public protocol ApplicationRouterDelegate<RouteType>: AnyObject { +public protocol ApplicationRouterDelegate<RouteType>: AnyObject, Sendable { associatedtype RouteType: AppRouteProtocol /** @@ -21,7 +21,7 @@ public protocol ApplicationRouterDelegate<RouteType>: AnyObject { _ router: ApplicationRouter<RouteType>, presentWithContext context: RoutePresentationContext<RouteType>, animated: Bool, - completion: @escaping (Coordinator) -> Void + completion: @escaping @Sendable (Coordinator) -> Void ) /** @@ -30,7 +30,7 @@ public protocol ApplicationRouterDelegate<RouteType>: AnyObject { func applicationRouter( _ router: ApplicationRouter<RouteType>, dismissWithContext context: RouteDismissalContext<RouteType>, - completion: @escaping () -> Void + completion: @escaping @Sendable () -> Void ) /** @@ -57,6 +57,6 @@ public protocol ApplicationRouterDelegate<RouteType>: AnyObject { func applicationRouter( _ router: ApplicationRouter<RouteType>, handleSubNavigationWithContext context: RouteSubnavigationContext<RouteType>, - completion: @escaping () -> Void + completion: @escaping @Sendable @MainActor () -> Void ) } |
