Explorar o código

Allow full screen for LoopStatusView

Mike Plante hai 6 meses
pai
achega
236e325f62
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      Trio/Sources/Modules/Home/View/Header/LoopStatusView.swift

+ 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