mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix retry issue with payment processing.
This commit is contained in:
committed by
Greyson Parrelli
parent
cf9b91ebd4
commit
b0788f7307
@@ -0,0 +1,15 @@
|
||||
package org.thoughtcrime.securesms.subscription
|
||||
|
||||
import io.reactivex.rxjava3.core.Observable
|
||||
import io.reactivex.rxjava3.subjects.BehaviorSubject
|
||||
|
||||
object LevelUpdate {
|
||||
|
||||
private var isProcessingSubject = BehaviorSubject.createDefault(false)
|
||||
|
||||
var isProcessing: Observable<Boolean> = isProcessingSubject
|
||||
|
||||
fun updateProcessingState(isProcessing: Boolean) {
|
||||
isProcessingSubject.onNext(isProcessing)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user