Merge pull request #111 from markvader/aidex_support_v2
Add missing Aidex references
This commit is contained in:
commit
9d6eec8fa4
|
@ -5,6 +5,7 @@
|
|||
<w>abcdef</w>
|
||||
<w>acked</w>
|
||||
<w>actionstring</w>
|
||||
<w>aidex</w>
|
||||
<w>allowednumbers</w>
|
||||
<w>androidaps</w>
|
||||
<w>autosens</w>
|
||||
|
@ -105,4 +106,4 @@
|
|||
<w>ypsopump</w>
|
||||
</words>
|
||||
</dictionary>
|
||||
</component>
|
||||
</component>
|
||||
|
|
|
@ -197,6 +197,7 @@ class BGSourceFragment : DaggerFragment() {
|
|||
R.string.tomato -> Sources.Tomato
|
||||
R.string.glunovo -> Sources.Glunovo
|
||||
R.string.xdrip -> Sources.Xdrip
|
||||
R.string.aidex -> Sources.Aidex
|
||||
else -> Sources.Unknown
|
||||
}
|
||||
uel.log(
|
||||
|
|
|
@ -255,6 +255,7 @@ class Translator @Inject internal constructor(
|
|||
Sources.MM640g -> TODO()
|
||||
Sources.NSClientSource -> TODO()
|
||||
Sources.PocTech -> TODO()
|
||||
Sources.Aidex -> TODO()
|
||||
Sources.Tomato -> TODO()
|
||||
Sources.Xdrip -> TODO()
|
||||
Sources.LocalProfile -> TODO()
|
||||
|
@ -293,4 +294,4 @@ class Translator @Inject internal constructor(
|
|||
|
||||
else -> source.name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,6 +109,7 @@ class UserEntryMapper {
|
|||
Actions (UserEntry.Sources.Actions),
|
||||
Automation (UserEntry.Sources.Automation),
|
||||
BG (UserEntry.Sources.BG),
|
||||
Aidex (UserEntry.Sources.Aidex),
|
||||
Dexcom (UserEntry.Sources.Dexcom),
|
||||
Eversense (UserEntry.Sources.Eversense),
|
||||
Glimp (UserEntry.Sources.Glimp),
|
||||
|
@ -150,4 +151,4 @@ class UserEntryMapper {
|
|||
Unknown(UserEntry.Sources.Unknown)
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,6 +63,7 @@ class UserEntryPresentationHelper @Inject constructor(
|
|||
Sources.Actions -> R.drawable.ic_action
|
||||
Sources.Automation -> R.drawable.ic_automation
|
||||
Sources.BG -> R.drawable.ic_generic_cgm
|
||||
Sources.Aidex -> R.drawable.ic_blooddrop_48
|
||||
Sources.Dexcom -> R.drawable.ic_dexcom_g6
|
||||
Sources.Eversense -> R.drawable.ic_eversense
|
||||
Sources.Glimp -> R.drawable.ic_glimp
|
||||
|
@ -226,4 +227,4 @@ class UserEntryPresentationHelper @Inject constructor(
|
|||
|
||||
private fun String.addWithSeparator(add: Any) =
|
||||
this + (if (this.isBlank()) "" else " / ") + add.toString()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -139,6 +139,7 @@ data class UserEntry(
|
|||
Actions, //From Actions plugin
|
||||
Automation, //From Automation plugin
|
||||
BG, //From BG plugin => Add One Source per BG Source for Calibration or Sensor Change
|
||||
Aidex,
|
||||
Dexcom,
|
||||
Eversense,
|
||||
Glimp,
|
||||
|
@ -197,4 +198,4 @@ data class UserEntry(
|
|||
Pump,
|
||||
Aaps
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue