Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Jun 28, 2024
2 parents 6adba74 + b4d009f commit db9ae30
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class ReactiveScopeData(

var runningLong: Result<Unit>? = Result.success(Unit)
set(value) {
if((field == null) != (value == null)) {
val previous = field
field = value
if((previous == null) != (value == null)) {
if(value != null) {
calculationContext.notifyLongComplete(value)
} else {
Expand All @@ -30,7 +32,6 @@ class ReactiveScopeData(
} else if(value != null) {
calculationContext.notifyComplete(value)
}
field = value
}

internal fun setLoading() {
Expand Down

0 comments on commit db9ae30

Please sign in to comment.