Remove dead code
This commit is contained in:
parent
8189695b29
commit
b0881f47fc
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
import UIKit
|
import UIKit
|
||||||
import UserNotifications
|
import UserNotifications
|
||||||
import SwiftUI
|
|
||||||
import Account
|
import Account
|
||||||
import Articles
|
import Articles
|
||||||
import RSCore
|
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…
x
Reference in New Issue
Block a user