diff --git a/Source/DDS/Component/Shimmer/Extension/Shimmer+ViewExt.swift b/Source/DDS/Component/Shimmer/Extension/Shimmer+ViewExt.swift index 168c122..aef567a 100644 --- a/Source/DDS/Component/Shimmer/Extension/Shimmer+ViewExt.swift +++ b/Source/DDS/Component/Shimmer/Extension/Shimmer+ViewExt.swift @@ -5,6 +5,10 @@ public extension View { @ViewBuilder func shimmer(_ condition: Bool = true) -> some View { - DodamShimmer { self } + if condition { + DodamShimmer { self } + } else { + self + } } }