remove unused code

This commit is contained in:
Milos Kozak 2023-11-21 17:11:48 +01:00
parent 2feaa419a7
commit 770ad1c4b8

View file

@ -119,7 +119,6 @@ class CommandQueueImplementation @Inject constructor(
return@subscribe return@subscribe
} }
aapsLogger.debug(LTag.PROFILE, "onEventProfileSwitchChanged") aapsLogger.debug(LTag.PROFILE, "onEventProfileSwitchChanged")
val effective = repository.getEffectiveProfileSwitchActiveAt(dateUtil.now()).blockingGet()
profileFunction.getRequestedProfile()?.let { profileFunction.getRequestedProfile()?.let {
setProfile(ProfileSealed.PS(it), it.interfaceIDs.nightscoutId != null, object : Callback() { setProfile(ProfileSealed.PS(it), it.interfaceIDs.nightscoutId != null, object : Callback() {
override fun run() { override fun run() {