From 54037788f3a7421cce91ce792c58edaae5d26010 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 10 Oct 2024 17:55:47 -0700 Subject: [PATCH] lint --- modules/bottom-sheet/ios/SheetViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bottom-sheet/ios/SheetViewController.swift b/modules/bottom-sheet/ios/SheetViewController.swift index ef0087877b..a8b8f0c058 100644 --- a/modules/bottom-sheet/ios/SheetViewController.swift +++ b/modules/bottom-sheet/ios/SheetViewController.swift @@ -26,7 +26,7 @@ class SheetViewController: UIViewController { else { return } - + if #available(iOS 16.0, *) { if contentHeight > screenHeight - 100 { sheet.detents = [ @@ -57,8 +57,8 @@ class SheetViewController: UIViewController { if !preventExpansion { sheet.detents.append(.large()) } + sheet.selectedDetentIdentifier = .medium } - sheet.selectedDetentIdentifier = .medium } }