mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-22 07:16:03 +00:00
Update BitchatApp.swift
Co-authored-by: asmo <asmogo@protonmail.com>
This commit is contained in:
parent
10be302854
commit
789bbf6862
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user