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