diff --git a/Sources/OversizeUI/Controls/Button/Button.swift b/Sources/OversizeUI/Controls/Button/Button.swift index 74c6c7a..dae168b 100644 --- a/Sources/OversizeUI/Controls/Button/Button.swift +++ b/Sources/OversizeUI/Controls/Button/Button.swift @@ -127,7 +127,7 @@ public struct OversizeButtonStyle: ButtonStyle { func loadingView(for role: ButtonRole?) -> some View { if isLoading { ProgressView() - .foregroundColor(foregroundColor(for: role)) + .progressViewStyle(CircularProgressViewStyle(tint: foregroundColor(for: role))) } else { EmptyView() } diff --git a/Sources/OversizeUI/Controls/Notice/NoticeView.swift b/Sources/OversizeUI/Controls/Notice/NoticeView.swift index 11f1d38..814b893 100644 --- a/Sources/OversizeUI/Controls/Notice/NoticeView.swift +++ b/Sources/OversizeUI/Controls/Notice/NoticeView.swift @@ -37,14 +37,14 @@ public struct NoticeView: View where A: View { .resizable() .frame(width: 32, height: 32) } - + imageURL.map { url in AsyncImage(url: url) { $0 .resizable() .frame(width: 32, height: 32) } placeholder: { - Circle() + Circle() .fillBackgroundTertiary() .frame(width: 32, height: 32) }