diff --git a/plugins/sync/src/main/java/info/nightscout/plugins/sync/nsclientV3/NSClientV3Plugin.kt b/plugins/sync/src/main/java/info/nightscout/plugins/sync/nsclientV3/NSClientV3Plugin.kt index 4204f65c72..b319210a3e 100644 --- a/plugins/sync/src/main/java/info/nightscout/plugins/sync/nsclientV3/NSClientV3Plugin.kt +++ b/plugins/sync/src/main/java/info/nightscout/plugins/sync/nsclientV3/NSClientV3Plugin.kt @@ -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)