Просмотр исходного кода

Merge branch 'dev' into feat/dev-medtrum

bastiaanv 6 месяцев назад
Родитель
Сommit
f506959d32
2 измененных файлов с 5 добавлено и 2 удалено
  1. 1 1
      Config.xcconfig
  2. 4 1
      Trio/Sources/Modules/Home/View/Header/LoopStatusView.swift

+ 1 - 1
Config.xcconfig

@@ -19,7 +19,7 @@ TRIO_APP_GROUP_ID = group.org.nightscout.$(DEVELOPMENT_TEAM).trio.trio-app-group
 
 // The developers set the version numbers, please leave them alone
 APP_VERSION = 0.6.0
-APP_DEV_VERSION = 0.6.0.8
+APP_DEV_VERSION = 0.6.0.9
 APP_BUILD_NUMBER = 1
 COPYRIGHT_NOTICE =
 

+ 4 - 1
Trio/Sources/Modules/Home/View/Header/LoopStatusView.swift

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