From 789bbf68622c40a1c05391f010a5fa6632b8bc6b Mon Sep 17 00:00:00 2001 From: jack <212554440+jackjackbits@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:42:13 +0200 Subject: [PATCH] Update BitchatApp.swift Co-authored-by: asmo --- bitchat/BitchatApp.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/bitchat/BitchatApp.swift b/bitchat/BitchatApp.swift index 40e17dd9..2a43ff9a 100644 --- a/bitchat/BitchatApp.swift +++ b/bitchat/BitchatApp.swift @@ -68,6 +68,7 @@ struct BitchatApp: App { } // Proactively disconnect Nostr to avoid spurious socket errors while Tor is down NostrRelayManager.shared.disconnect() + didEnterBackground = true break case .active: // Restart services when becoming active