Explorar o código

Merge branch 'dev' into feat/dev-medtrum

bastiaanv hai 6 meses
pai
achega
f506959d32

+ 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
 // The developers set the version numbers, please leave them alone
 APP_VERSION = 0.6.0
 APP_VERSION = 0.6.0
-APP_DEV_VERSION = 0.6.0.8
+APP_DEV_VERSION = 0.6.0.9
 APP_BUILD_NUMBER = 1
 APP_BUILD_NUMBER = 1
 COPYRIGHT_NOTICE =
 COPYRIGHT_NOTICE =
 
 

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

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