瀏覽代碼

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