Преглед изворни кода

Allow full screen for LoopStatusView

Mike Plante пре 6 месеци
родитељ
комит
236e325f62
1 измењених фајлова са 2 додато и 3 уклоњено
  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