Skip to content

Commit 65533b4

Browse files
committed
Fix bug blocking referrer auto-setup
1 parent 55a19e6 commit 65533b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/tech/httptoolkit/android/HttpToolkitApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class HttpToolkitApplication : Application() {
123123
return suspendCoroutine { cont ->
124124
val wasResumed = AtomicBoolean()
125125
val resume = { value: String? ->
126-
if (wasResumed.getAndSet(true)) {
126+
if (!wasResumed.getAndSet(true)) {
127127
cont.resume(value)
128128
}
129129
}

0 commit comments

Comments
 (0)