I want to blur the button if the condition inside .disable(condition) is true. How can i do this in swiftui?
For example.
Button(action: {
// What to perform
}) {
// How the button looks like
}
.disable(tnum < 100)
at the same time if tnum count goes under 100, i want the button to be blured as well.
how can i achieve this?