Closed tkafka closed 2 years ago
I have an image (gradient) in the background of my app, and pull-to-refresh created a solid color block overlaying it.
I fixed this by replacing foregroundColor(Color(UIColor.systemBackground)) for foregroundColor(Color.clear) at https://github.com/globulus/swiftui-pull-to-refresh/blob/main/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift#L108 but I had to fork the project to do this.
foregroundColor(Color(UIColor.systemBackground))
foregroundColor(Color.clear)
It would be great if this could be configurable in a same way progress is (or, maybe just use the clear color as default?).
progress
Thank you for consideration!
Hi Tomáš,
I added this via loadingViewBackgroundColor in v.1.1.4.
loadingViewBackgroundColor
Thanks again for the suggestion!
@gordan-glavas-codecons Awesome! Thank you very much!
I have an image (gradient) in the background of my app, and pull-to-refresh created a solid color block overlaying it.
I fixed this by replacing
foregroundColor(Color(UIColor.systemBackground))
forforegroundColor(Color.clear)
at https://github.com/globulus/swiftui-pull-to-refresh/blob/main/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift#L108 but I had to fork the project to do this.It would be great if this could be configurable in a same way
progress
is (or, maybe just use the clear color as default?).Thank you for consideration!