From 61ab4d6fcb6752e8b746ff69fae59787c6308d59 Mon Sep 17 00:00:00 2001 From: Daiki Matsudate Date: Wed, 11 Aug 2021 11:13:05 +0900 Subject: [PATCH] Fix availability for iOS 15 --- Sources/DebugMenu/View/InAppDebuggerViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/DebugMenu/View/InAppDebuggerViewController.swift b/Sources/DebugMenu/View/InAppDebuggerViewController.swift index a400a96..69b04c6 100644 --- a/Sources/DebugMenu/View/InAppDebuggerViewController.swift +++ b/Sources/DebugMenu/View/InAppDebuggerViewController.swift @@ -225,7 +225,7 @@ extension InAppDebuggerViewController { >(elementKind: UICollectionView.elementKindSectionHeader) { [weak self] (headerView, elementKind, indexPath) in var configuration = headerView.defaultContentConfiguration() - if #available(iOSApplicationExtension 15.0, *) { + if #available(iOS 15.0, *) { #if compiler(>=5.5) configuration.text = self?.dataSource.sectionIdentifier(for: indexPath.section)?.title