From 40d1285c38f5ac23fd510f678e28720a2ced0e2e Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Sun, 4 Jan 2026 12:36:22 -0600 Subject: [PATCH] Fix Swift 6 concurrency warning for showDebugLogs Mark showDebugLogs as nonisolated(unsafe) to resolve the 'static property is not concurrency-safe' error. This is appropriate for a debug flag that is typically set once at app launch. --- Sources/Bedrock/Theme/Design.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Bedrock/Theme/Design.swift b/Sources/Bedrock/Theme/Design.swift index 5b40c13..98c7169 100644 --- a/Sources/Bedrock/Theme/Design.swift +++ b/Sources/Bedrock/Theme/Design.swift @@ -25,7 +25,7 @@ public enum Design { // MARK: - Debug /// Set to true to enable debug logging in Bedrock. - public static let showDebugLogs = true + nonisolated(unsafe) public static var showDebugLogs = true /// Logs a message only in debug builds when `showDebugLogs` is enabled. public static func debugLog(_ message: String) {