Skip to content

Commit c1c93b5

Browse files
author
vsalas
committed
remove toggleResizingViewOverlayContent
1 parent b1d0d54 commit c1c93b5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Demos/FluentUIDemo_iOS/FluentUI.Demo/Demos/BottomSheetDemoController.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ class BottomSheetDemoController: DemoController {
103103
bottomSheetViewController?.preferredWidth = sender.isOn ? 400 : 0
104104
}
105105

106-
@objc private func toggleResizingViewOverlayContent(_ sender: BooleanCell) {
107-
bottomSheetViewController?.shouldResizingViewOverlayContent = sender.isOn
108-
}
109-
110106
@objc private func showTransientSheet() {
111107
let hostingVC = UIHostingController(rootView: BottomSheetDemoListContentView())
112108

@@ -279,11 +275,7 @@ class BottomSheetDemoController: DemoController {
279275
DemoItem(title: "Set preferred width to 400",
280276
type: .boolean,
281277
action: #selector(togglePreferredWidth),
282-
isOn: bottomSheetViewController?.preferredWidth == 400),
283-
DemoItem(title: "Should resizing view overlay content",
284-
type: .boolean,
285-
action: #selector(toggleResizingViewOverlayContent),
286-
isOn: bottomSheetViewController?.shouldResizingViewOverlayContent ?? false)
278+
isOn: bottomSheetViewController?.preferredWidth == 400)
287279
],
288280
[
289281
DemoItem(title: "Show transient sheet", type: .action, action: #selector(showTransientSheet))

0 commit comments

Comments
 (0)