diff --git a/DebugLayout/Sources/DebugLayout/DebugLayoutLog.swift b/DebugLayout/Sources/DebugLayout/DebugLayoutLog.swift index d8011b1..5f2e45a 100644 --- a/DebugLayout/Sources/DebugLayout/DebugLayoutLog.swift +++ b/DebugLayout/Sources/DebugLayout/DebugLayoutLog.swift @@ -185,7 +185,7 @@ public struct DebugLayoutLogView: View { .padding(.vertical, 8) } .background { - #if macOS + #if os(macOS) Color(white: 0.8) #else Color(uiColor: .secondarySystemBackground)