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

Commit

Permalink
remove environment modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter01 committed Aug 13, 2023
1 parent e4ee470 commit adbebf5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/WindowManagement/Scene+Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@ public extension SwiftUI.Scene {
func modifier<T>(_ modifier: T) -> ModifiedContent<Self, T> {
return .init(content: self, modifier: modifier)
}

@inlinable
func environment<V>(_ keyPath: WritableKeyPath<EnvironmentValues, V>, _ value: V) -> some Scene {
modifier(_EnvironmentKeyWritingModifier(keyPath: keyPath, value: value))
}
}

0 comments on commit adbebf5

Please sign in to comment.