use default insulin during initialization
This commit is contained in:
parent
112d3b50d1
commit
26024dc7e1
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class PluginStore @Inject constructor(
|
||||||
get() = activeProfile ?: checkNotNull(activeProfile) { "No profile selected" }
|
get() = activeProfile ?: checkNotNull(activeProfile) { "No profile selected" }
|
||||||
|
|
||||||
override val activeInsulin: Insulin
|
override val activeInsulin: Insulin
|
||||||
get() = activeInsulinStore ?: checkNotNull(activeInsulinStore) { "No insulin selected" }
|
get() = activeInsulinStore ?: getDefaultPlugin(PluginType.INSULIN) as Insulin
|
||||||
|
|
||||||
override val activeAPS: APS
|
override val activeAPS: APS
|
||||||
get() = activeAPSStore ?: checkNotNull(activeAPSStore) { "No APS selected" }
|
get() = activeAPSStore ?: checkNotNull(activeAPSStore) { "No APS selected" }
|
||||||
|
|
Loading…
Reference in a new issue