aheze / Setting

Compose beautiful preference panels.
https://twitter.com/aheze0/status/1628615055163142144
MIT License
1.44k stars 59 forks source link

Missing modifiers #36

Open N3v1 opened 7 months ago

N3v1 commented 7 months ago

Hey @aheze, I wanted to let you know that I really like this framework, but I've noticed that some important modifiers are missing for your Toggles, specifically .disabled(disabled: Bool) and .onChange(of: perform:). It would also be nice if instead of using the @SettingBuilder macro to create a new settings view, you could just create a new view and link it to the SettingPage.