Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit adbebf5

Browse files
committed
remove environment modifier
1 parent e4ee470 commit adbebf5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/WindowManagement/Scene+Environment.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,4 @@ public extension SwiftUI.Scene {
1212
func modifier<T>(_ modifier: T) -> ModifiedContent<Self, T> {
1313
return .init(content: self, modifier: modifier)
1414
}
15-
16-
@inlinable
17-
func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene {
18-
modifier(_EnvironmentKeyWritingModifier(keyPath: keyPath, value: value))
19-
}
2015
}

0 commit comments

Comments
 (0)