Skip to content

Commit 79bd4af

Browse files
authored
Remove redundant conditional compilation directive (permissionlesstech#863)
1 parent 96c78ef commit 79bd4af

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

bitchat/BitchatApp.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,9 @@ struct BitchatApp: App {
5757
let npub = try? idBridge.getCurrentNostrIdentity()?.npub
5858
_ = VerificationService.shared.buildMyQRString(nickname: chatViewModel.nickname, npub: npub)
5959
}
60-
#if os(iOS)
61-
appDelegate.chatViewModel = chatViewModel
62-
#elseif os(macOS)
60+
6361
appDelegate.chatViewModel = chatViewModel
64-
#endif
62+
6563
// Initialize network activation policy; will start Tor/Nostr only when allowed
6664
NetworkActivationService.shared.start()
6765
// Check for shared content

0 commit comments

Comments
 (0)