Remove dead code
This commit is contained in:
parent
8189695b29
commit
b0881f47fc
|
@ -8,7 +8,6 @@
|
|||
|
||||
import UIKit
|
||||
import UserNotifications
|
||||
import SwiftUI
|
||||
import Account
|
||||
import Articles
|
||||
import RSCore
|
||||
|
@ -1699,20 +1698,3 @@ private extension SceneCoordinator {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: SwiftUI
|
||||
|
||||
struct SceneCoordinatorHolder {
|
||||
weak var value: SceneCoordinator?
|
||||
}
|
||||
|
||||
struct SceneCoordinatorKey: EnvironmentKey {
|
||||
static var defaultValue: SceneCoordinatorHolder { return SceneCoordinatorHolder(value: nil ) }
|
||||
}
|
||||
|
||||
extension EnvironmentValues {
|
||||
var sceneCoordinator: SceneCoordinator? {
|
||||
get { return self[SceneCoordinatorKey.self].value }
|
||||
set { self[SceneCoordinatorKey.self].value = newValue }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue