Sfoglia il codice sorgente

Allow full screen for LoopStatusView

Mike Plante 6 mesi fa
parent
commit
236e325f62

+ 2 - 3
Trio/Sources/Modules/Home/View/Header/LoopStatusView.swift

@@ -130,9 +130,8 @@ struct LoopStatusView: View {
             lastDetermination = state.determinationsFromPersistence.first
         }
         .presentationDetents([
-            sheetContentHeight > 0
-                ? .height(sheetContentHeight)
-                : .fraction(0.9)
+            sheetContentHeight > 0 ? .height(sheetContentHeight) : .fraction(0.9),
+            .large
         ])
         .presentationDragIndicator(.visible)
         .onPreferenceChange(ContentSizeKey.self) { newSize in