From 9a43584cb32e53ae339532a6f49c19c7bc17aa8a Mon Sep 17 00:00:00 2001 From: WindowsMEMZ Date: Tue, 16 Jul 2024 01:13:38 +0800 Subject: [PATCH] Updated some files --- Sources/DarockKit/Neumorphic/ColorExtension.swift | 2 +- Sources/DarockKit/Neumorphic/NeumorphicKit.swift | 2 +- Sources/DarockKit/Neumorphic/SoftButtonStyle.swift | 2 +- Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift | 2 +- Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift | 2 +- Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift | 2 +- Sources/DarockKit/Neumorphic/View+InverseMask.swift | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Sources/DarockKit/Neumorphic/ColorExtension.swift b/Sources/DarockKit/Neumorphic/ColorExtension.swift index d6cc22d..a342d97 100644 --- a/Sources/DarockKit/Neumorphic/ColorExtension.swift +++ b/Sources/DarockKit/Neumorphic/ColorExtension.swift @@ -1,4 +1,4 @@ -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public extension Color { diff --git a/Sources/DarockKit/Neumorphic/NeumorphicKit.swift b/Sources/DarockKit/Neumorphic/NeumorphicKit.swift index ec82fc1..81b536b 100644 --- a/Sources/DarockKit/Neumorphic/NeumorphicKit.swift +++ b/Sources/DarockKit/Neumorphic/NeumorphicKit.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public struct NeumorphicKit { diff --git a/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift b/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift index 15dabe4..f425c61 100644 --- a/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift +++ b/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public enum SoftButtonPressedEffect { diff --git a/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift b/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift index e8e7e80..e3a3226 100644 --- a/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift +++ b/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift @@ -5,7 +5,7 @@ // Created by Costa Chung on 11/12/2020. // -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public struct SoftDynamicToggleStyle : ToggleStyle { diff --git a/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift b/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift index d57a5ef..33c1735 100644 --- a/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift +++ b/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift @@ -5,7 +5,7 @@ // Neumorphism Soft UI // -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI private struct SoftInnerShadowViewModifier : ViewModifier { diff --git a/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift b/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift index 3ee614a..0b327e8 100644 --- a/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift +++ b/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI private struct SoftOuterShadowViewModifier: ViewModifier { diff --git a/Sources/DarockKit/Neumorphic/View+InverseMask.swift b/Sources/DarockKit/Neumorphic/View+InverseMask.swift index f53fdb0..7204362 100644 --- a/Sources/DarockKit/Neumorphic/View+InverseMask.swift +++ b/Sources/DarockKit/Neumorphic/View+InverseMask.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI extension View {