NSC: reset client on preference change

This commit is contained in:
Milos Kozak 2023-10-31 15:29:02 +01:00
parent fec3e71aef
commit ddc643b83a

View file

@ -222,6 +222,7 @@ class NSClientV3Plugin @Inject constructor(
ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_ns_announcements))
) {
stopService()
nsAndroidClient = null
setClient()
}
if (ev.isChanged(rh.gs(app.aaps.core.utils.R.string.key_local_profile_last_change)))