NSCv3: track changed profile store
This commit is contained in:
parent
aa9684f621
commit
cef547861f
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,8 @@ class NSClientV3Plugin @Inject constructor(
|
|||
nsClientReceiverDelegate.onStatusEvent(ev)
|
||||
if (ev.isChanged(rh.gs(R.string.key_ns_client_token)) || ev.isChanged(rh.gs(info.nightscout.core.utils.R.string.key_nsclientinternal_url)))
|
||||
setClient()
|
||||
if (ev.isChanged(rh.gs(info.nightscout.core.utils.R.string.key_local_profile_last_change)))
|
||||
delayAndScheduleExecution("PROFILE_CHANGE")
|
||||
}, fabricPrivacy::logException)
|
||||
disposable += rxBus
|
||||
.toObservable(EventAppExit::class.java)
|
||||
|
|
Loading…
Reference in a new issue