From 10be3028545c53ee58dec9d404295ad34b95fbbd Mon Sep 17 00:00:00 2001 From: jack <212554440+jackjackbits@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:42:04 +0200 Subject: [PATCH] Update BitchatApp.swift Co-authored-by: asmo --- bitchat/BitchatApp.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/bitchat/BitchatApp.swift b/bitchat/BitchatApp.swift index 0b371ad3..40e17dd9 100644 --- a/bitchat/BitchatApp.swift +++ b/bitchat/BitchatApp.swift @@ -17,6 +17,7 @@ struct BitchatApp: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate // Skip the very first .active-triggered Tor restart on cold launch @State private var didHandleInitialActive: Bool = false + @State private var didEnterBackground: Bool = false #elseif os(macOS) @NSApplicationDelegateAdaptor(MacAppDelegate.self) var appDelegate #endif