NSC: reset client on preference change
This commit is contained in:
parent
fec3e71aef
commit
ddc643b83a
|
@ -222,6 +222,7 @@ class NSClientV3Plugin @Inject constructor(
|
||||||
ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_ns_announcements))
|
ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_ns_announcements))
|
||||||
) {
|
) {
|
||||||
stopService()
|
stopService()
|
||||||
|
nsAndroidClient = null
|
||||||
setClient()
|
setClient()
|
||||||
}
|
}
|
||||||
if (ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_local_profile_last_change)))
|
if (ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_local_profile_last_change)))
|
||||||
|
|
Loading…
Reference in a new issue