fix build

This commit is contained in:
Milos Kozak 2021-11-12 16:53:03 +01:00
parent bfeb53b836
commit 54b8d0613c

View file

@ -35,7 +35,7 @@ class GlunovoPlugin @Inject constructor(
private val sp: SP, private val sp: SP,
private val context: Context, private val context: Context,
private val repository: AppRepository, private val repository: AppRepository,
private val broadcastToXDrip: XDripBroadcast, private val xDripBroadcast: XDripBroadcast,
private val dateUtil: DateUtil, private val dateUtil: DateUtil,
private val fabricPrivacy: FabricPrivacy private val fabricPrivacy: FabricPrivacy
) : PluginBase( ) : PluginBase(
@ -143,7 +143,7 @@ class GlunovoPlugin @Inject constructor(
.blockingGet() .blockingGet()
.also { savedValues -> .also { savedValues ->
savedValues.inserted.forEach { savedValues.inserted.forEach {
broadcastToXDrip(it) xDripBroadcast.send(it)
aapsLogger.debug(LTag.DATABASE, "Inserted bg $it") aapsLogger.debug(LTag.DATABASE, "Inserted bg $it")
} }
} }