mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 03:45:20 +00:00
Update bitchat/BitchatApp.swift
Co-authored-by: asmo <asmogo@protonmail.com>
This commit is contained in:
@@ -70,6 +70,7 @@ struct BitchatApp: App {
|
|||||||
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
|
// Proactively disconnect Nostr to avoid spurious socket errors while Tor is down
|
||||||
NostrRelayManager.shared.disconnect()
|
NostrRelayManager.shared.disconnect()
|
||||||
didEnterBackground = true
|
didEnterBackground = true
|
||||||
|
didEnterBackground = true
|
||||||
break
|
break
|
||||||
case .active:
|
case .active:
|
||||||
// Restart services when becoming active
|
// Restart services when becoming active
|
||||||
|
|||||||
Reference in New Issue
Block a user