소스 검색

Merge branch 'core-data-sync-trio' of github.com:dnzxy/Open-iAPS into tempTargets

polscm32 aka Marvout 1 년 전
부모
커밋
23986db982
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      FreeAPS/Sources/Models/DecimalPickerSettings.swift
  2. 1 1
      LiveActivity/LiveActivity.swift

+ 1 - 1
FreeAPS/Sources/Models/DecimalPickerSettings.swift

@@ -110,7 +110,7 @@ struct DecimalPickerSettings {
         value: 0.2,
         step: 0.05,
         min: 0.1,
-        max: 2,
+        max: 0.4,
         type: PickerSetting.PickerSettingType.factor
     )
     var adjustmentFactor = PickerSetting(value: 0.8, step: 0.1, min: 0.5, max: 1.5, type: PickerSetting.PickerSettingType.factor)

+ 1 - 1
LiveActivity/LiveActivity.swift

@@ -159,7 +159,7 @@ struct LiveActivity: Widget {
 
     @ViewBuilder private func changeLabel(context: ActivityViewContext<LiveActivityAttributes>) -> some View {
         if !context.state.change.isEmpty {
-            Text(context.state.change).foregroundStyle(.primary.opacity(0.5)).font(.headline)
+            Text(context.state.change).foregroundStyle(.primary).font(.headline)
                 .strikethrough(context.isStale, pattern: .solid, color: .red.opacity(0.6))
         } else {
             Text("--")