From 4e77902bdbaac0fec4a2c16dadb847e0e731b5a8 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sat, 27 Mar 2021 22:49:22 +0100 Subject: [PATCH] correct call of teardown wear plugin --- .../nightscout/androidaps/plugins/general/wear/WearPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/wear/WearPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/wear/WearPlugin.kt index 74bd00d7f0..e4a486a89e 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/wear/WearPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/wear/WearPlugin.kt @@ -134,7 +134,7 @@ class WearPlugin @Inject constructor( override fun onStop() { disposable.clear() super.onStop() - actionStringHandler.get().setup() + actionStringHandler.get().tearDown() } private fun sendDataToWatch(status: Boolean, basals: Boolean, bgValue: Boolean) {