unconditional active scene phase change

This commit is contained in:
2025-10-10 23:10:10 -07:00
parent 6110f712bd
commit 2220a0d4f2

View File

@@ -56,7 +56,7 @@ extension ContentView
{ {
private func handleScenePhaseChange(from oldPhase: ScenePhase, to newPhase: ScenePhase) { private func handleScenePhaseChange(from oldPhase: ScenePhase, to newPhase: ScenePhase) {
// When app returns to active state from background, force reconnect and refresh // When app returns to active state from background, force reconnect and refresh
if oldPhase == .background && newPhase == .active { if newPhase == .active {
Task { Task {
// Force WebSocket reconnection // Force WebSocket reconnection
websocketRestartTrigger += 1 websocketRestartTrigger += 1