From 5484ff6d59a0af08ed99e28b9f5ef8301d24d206 Mon Sep 17 00:00:00 2001 From: sim Date: Thu, 31 Aug 2023 01:52:43 +0200 Subject: [PATCH] Fix initial state for internet check --- .../java/org/unifiedpush/distributor/nextpush/AppCompanion.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/AppCompanion.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/AppCompanion.kt index 8f39b0e..5435ec1 100644 --- a/app/src/main/java/org/unifiedpush/distributor/nextpush/AppCompanion.kt +++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/AppCompanion.kt @@ -6,7 +6,7 @@ import java.util.concurrent.atomic.AtomicInteger object AppCompanion { val booting = AtomicBoolean(false) - val hasInternet = AtomicBoolean(false) + val hasInternet = AtomicBoolean(true) val started = AtomicBoolean(false) val pinged = AtomicBoolean(false) val bufferedResponseChecked = AtomicBoolean(false)