Update bitchat/BitchatApp.swift

Co-authored-by: asmo <asmogo@protonmail.com>
This commit is contained in:
jack 2025-09-11 18:31:55 +02:00 committed by GitHub
parent 74589539c3
commit ddadccc554
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,6 +70,7 @@ struct BitchatApp: App {
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
NostrRelayManager.shared.disconnect()
didEnterBackground = true
didEnterBackground = true
break
case .active:
// Restart services when becoming active