correct call of teardown wear plugin

This commit is contained in:
AdrianLxM 2021-03-27 22:49:22 +01:00 committed by Philoul
parent dc79109f5e
commit 4e77902bdb

View file

@ -134,7 +134,7 @@ class WearPlugin @Inject constructor(
override fun onStop() { override fun onStop() {
disposable.clear() disposable.clear()
super.onStop() super.onStop()
actionStringHandler.get().setup() actionStringHandler.get().tearDown()
} }
private fun sendDataToWatch(status: Boolean, basals: Boolean, bgValue: Boolean) { private fun sendDataToWatch(status: Boolean, basals: Boolean, bgValue: Boolean) {