gh123man / SwiftUI-Refresher

A native, customizable SwiftUI refresh control
MIT License
129 stars 12 forks source link

Can we change the spinner foreground color? #28

Closed devmuz closed 3 months ago

gh123man commented 3 months ago

👋 Hi

The spinner can be fully customized. See the example in the readme

You can supply a different view to use as the spinner for each state. Here you can supply a different color. We don't expose the ability to directly customize the default spinner - but it's implementation is fairly simple. You can copy that into your project and customize it as needed.

devmuz commented 3 months ago

Okay Thanks! I fixed this by copying the code to use my own AppRefreshView and done the changes in ActivityView to update the UIActivityIndicatorView color.