From 79bd4af9124bc4d453adeb436d81bf266284a49f Mon Sep 17 00:00:00 2001 From: Jithin Renji <38180319+jithin-renji@users.noreply.github.com> Date: Wed, 29 Oct 2025 10:02:34 -0600 Subject: [PATCH] Remove redundant conditional compilation directive (#863) --- bitchat/BitchatApp.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bitchat/BitchatApp.swift b/bitchat/BitchatApp.swift index 2ed9d785..cf403747 100644 --- a/bitchat/BitchatApp.swift +++ b/bitchat/BitchatApp.swift @@ -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