Skip to content

Commit f7073d5

Browse files
rr-codesJonWBedard
authored andcommitted
Fix the visionOS debug build after 292533@main
https://bugs.webkit.org/show_bug.cgi?id=290264 rdar://147657648 Reviewed by Jonathan Bedard. Unreviewed build fix. * Source/WebKit/UIProcess/API/Swift/WebPage+Configuration.swift: (Configuration.showsSystemScreenTimeBlockingView): Canonical link: https://commits.webkit.org/292546@main
1 parent bef74b7 commit f7073d5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Source/WebKit/UIProcess/API/Swift/WebPage+Configuration.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ extension WebPage {
109109
/// The default value is `true`. If `true`, the system Screen Time blocking view is shown when blocked by Screen Time.
110110
/// If `false`, a blurred view of the web content is shown instead.
111111
@available(visionOS, unavailable)
112-
public var showsSystemScreenTimeBlockingView: Bool = true
112+
public var showsSystemScreenTimeBlockingView: Bool {
113+
get { _showsSystemScreenTimeBlockingView }
114+
set { _showsSystemScreenTimeBlockingView = newValue }
115+
}
116+
117+
private var _showsSystemScreenTimeBlockingView = true
113118

114119
#if os(iOS)
115120
/// The types of data detectors to apply to the webpage's content.

0 commit comments

Comments
 (0)