From 2411af95568b515e589e8b90a03e86438d2abaef Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 15 Jun 2026 13:26:25 +0300 Subject: [PATCH] Re-enable client pausing and resuming for non-release builds Disabled in 5ba94609b because pause and resume could interleave and strand the client suspended after a foreground resume. That race is now fixed, so turn the feature back on for non-release builds. --- ElementX/Sources/Application/Settings/AppSettings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Application/Settings/AppSettings.swift b/ElementX/Sources/Application/Settings/AppSettings.swift index af62564da..16f0947f0 100644 --- a/ElementX/Sources/Application/Settings/AppSettings.swift +++ b/ElementX/Sources/Application/Settings/AppSettings.swift @@ -500,7 +500,7 @@ final class AppSettings: @unchecked Sendable { _jumpToReadMarkerEnabled = UserPreference(key: .jumpToReadMarkerEnabled, defaultValue: false, storage: store) _linkNewDeviceEnabled = UserPreference(key: .linkNewDeviceEnabled, defaultValue: false, storage: store) _automaticBackPaginationEnabled = UserPreference(key: .automaticBackPaginationEnabled, defaultValue: false, storage: store) - _clientPausingAndResumingEnabled = UserPreference(key: .clientPausingAndResumingEnabled, defaultValue: false, storage: VolatileUserDefaults()) + _clientPausingAndResumingEnabled = UserPreference(key: .clientPausingAndResumingEnabled, defaultValue: Self.appBuildType != .release, storage: VolatileUserDefaults()) _developerOptionsEnabled = UserPreference(key: .developerOptionsEnabled, defaultValue: Self.appBuildType != .release, storage: store) }