Add Autotune in UserEntry

This commit is contained in:
Philoul 2022-05-05 10:41:43 +02:00
parent 15a6d27349
commit d8762bec0f
4 changed files with 4 additions and 0 deletions

View file

@ -285,6 +285,7 @@ class Translator @Inject internal constructor(
Sources.Aaps -> TODO()
*/
Sources.Automation -> rh.gs(R.string.automation)
Sources.Autotune -> rh.gs(R.string.autotune)
Sources.Loop -> rh.gs(R.string.loop)
Sources.NSClient -> rh.gs(R.string.ns)
Sources.Pump -> rh.gs(R.string.pump)

View file

@ -108,6 +108,7 @@ class UserEntryMapper {
Announcement (UserEntry.Sources.Announcement),
Actions (UserEntry.Sources.Actions),
Automation (UserEntry.Sources.Automation),
Autotune (UserEntry.Sources.Autotune),
BG (UserEntry.Sources.BG),
Aidex (UserEntry.Sources.Aidex),
Dexcom (UserEntry.Sources.Dexcom),

View file

@ -62,6 +62,7 @@ class UserEntryPresentationHelper @Inject constructor(
Sources.Announcement -> R.drawable.ic_cp_announcement
Sources.Actions -> R.drawable.ic_action
Sources.Automation -> R.drawable.ic_automation
Sources.Autotune -> R.drawable.ic_autotune
Sources.BG -> R.drawable.ic_generic_cgm
Sources.Aidex -> R.drawable.ic_blooddrop_48
Sources.Dexcom -> R.drawable.ic_dexcom_g6

View file

@ -138,6 +138,7 @@ data class UserEntry(
Announcement,
Actions, //From Actions plugin
Automation, //From Automation plugin
Autotune, //From Autotune plugin
BG, //From BG plugin => Add One Source per BG Source for Calibration or Sensor Change
Aidex,
Dexcom,