diff --git a/Sources/BraveUI/SwiftUI/Shimmer.swift b/Sources/BraveUI/SwiftUI/Shimmer.swift index e856d1f9ca1..97098cd7ee5 100644 --- a/Sources/BraveUI/SwiftUI/Shimmer.swift +++ b/Sources/BraveUI/SwiftUI/Shimmer.swift @@ -38,16 +38,10 @@ private struct ShimmerViewModifier: ViewModifier { endPoint: points.1 ) .onAppear { - if #available(iOS 16, *) { + DispatchQueue.main.async { [self] in // Need this due to a SwiftUI bug… withAnimation(animation) { points = (.trailing, UnitPoint(x: 2, y: 0.5)) } - } else { - DispatchQueue.main.async { [self] in // Need this due to a SwiftUI bug… - withAnimation(animation) { - points = (.trailing, UnitPoint(x: 2, y: 0.5)) - } - } } } }