From 60ec14aae7ca877042c5660c075e080607458808 Mon Sep 17 00:00:00 2001 From: Ben Rudhart Date: Fri, 28 May 2021 09:52:18 +0200 Subject: [PATCH] Setup childForStatusBarStyle --- FittedSheets/SheetViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FittedSheets/SheetViewController.swift b/FittedSheets/SheetViewController.swift index 89a54d4..de36e90 100644 --- a/FittedSheets/SheetViewController.swift +++ b/FittedSheets/SheetViewController.swift @@ -54,6 +54,10 @@ public class SheetViewController: UIViewController { public var childViewController: UIViewController { return self.contentViewController.childViewController } + + public override var childForStatusBarStyle: UIViewController? { + childViewController + } public static var hasBlurBackground = false public var hasBlurBackground = SheetViewController.hasBlurBackground {