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.Aaps -> TODO()
*/ */
Sources.Automation -> rh.gs(R.string.automation) Sources.Automation -> rh.gs(R.string.automation)
Sources.Autotune -> rh.gs(R.string.autotune)
Sources.Loop -> rh.gs(R.string.loop) Sources.Loop -> rh.gs(R.string.loop)
Sources.NSClient -> rh.gs(R.string.ns) Sources.NSClient -> rh.gs(R.string.ns)
Sources.Pump -> rh.gs(R.string.pump) Sources.Pump -> rh.gs(R.string.pump)

View file

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

View file

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

View file

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