Browse Source

Merge branch 'dev' into alpha

Jon B Mårtensson 2 years ago
parent
commit
0867b7681a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift

+ 2 - 2
FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift

@@ -162,8 +162,8 @@ extension DataTable {
 
 
                         Section {
                         Section {
                             HStack {
                             HStack {
-                                let limitLow: Decimal = state.units == .mmolL ? 0.8 : 40
-                                let limitHigh: Decimal = state.units == .mgdL ? 14 : 720
+                                let limitLow: Decimal = state.units == .mmolL ? 0.8 : 14
+                                let limitHigh: Decimal = state.units == .mmolL ? 40 : 720
                                 Button {
                                 Button {
                                     state.addManualGlucose()
                                     state.addManualGlucose()
                                     isAmountUnconfirmed = false
                                     isAmountUnconfirmed = false