spacenation / swiftui-sliders

:rocket: SwiftUI Sliders with custom styles
MIT License
793 stars 84 forks source link

Erros on xCode 13.0. #49

Open Stefan-Hopman opened 2 years ago

Stefan-Hopman commented 2 years ago

Hello,

I added the package to my project. When on xCode 13.0, I get errors saying "Ambiguous use of 'accentColor'". Maybe Color.accentColor should be used instead of just .accentColor in the source code when using .accentColor as a parameter call. Could you please resolve this?

Kind Regards, Stefan

Stefan-Hopman commented 2 years ago

Hello, I was able to resolve it from the source code by using Color.accentColor instead .accentColor when passing it as as a parameter.

trickypr commented 2 years ago

For anyone having this problem, you can fix it by binding the version to the commit 5ba8614462a7ed4bd47a93fbca6c281599f74337.