- small change of disposable for display of 5th button

This commit is contained in:
Andy Rozman 2019-12-25 21:54:21 +01:00
parent 3ceb5f46d8
commit 64310f4e28

View file

@ -151,13 +151,13 @@ class OmnipodFragment : Fragment() {
.toObservable(EventOmnipodAcknowledgeAlertsChanged::class.java)
.observeOn(AndroidSchedulers.mainThread())
.subscribe({ updateAcknowledgeAlerts(OmnipodUtil.getPumpStatus()) }, { FabricPrivacy.logException(it) })
disposable.add(RxBus
disposable += RxBus
.toObservable(EventPreferenceChange::class.java)
.observeOn(AndroidSchedulers.mainThread())
.observeOn(Schedulers.io())
.subscribe({ event ->
setVisibilityOfPodDebugButton()
}, { FabricPrivacy.logException(it) })
)
}