Skip to content

Commit

Permalink
Button loader collor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Oct 8, 2022
1 parent f401157 commit 600b2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/OversizeUI/Controls/Button/Button.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
4 changes: 2 additions & 2 deletions Sources/OversizeUI/Controls/Notice/NoticeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ public struct NoticeView<A>: 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)
}
Expand Down

0 comments on commit 600b2f7

Please sign in to comment.