Remove redundant conditional compilation directive (#863)

This commit is contained in:
Jithin Renji 2025-10-29 10:02:34 -06:00 committed by GitHub
parent 96c78ef5a2
commit 79bd4af912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,11 +57,9 @@ struct BitchatApp: App {
let npub = try? idBridge.getCurrentNostrIdentity()?.npub
_ = VerificationService.shared.buildMyQRString(nickname: chatViewModel.nickname, npub: npub)
}
#if os(iOS)
appDelegate.chatViewModel = chatViewModel
#elseif os(macOS)
appDelegate.chatViewModel = chatViewModel
#endif
// Initialize network activation policy; will start Tor/Nostr only when allowed
NetworkActivationService.shared.start()
// Check for shared content