splendo / kaluga-swiftui

5 stars 0 forks source link

Simplified if statement causes issues on generated file #39

Open corrado4eyes opened 3 months ago

corrado4eyes commented 3 months ago

This commit aimed to simplify the syntax for generate methods with animation or without animation. Now when running the sourcery script against a template with such syntax, the output on the default method argument will be either 1 or 0 instead of true or false.

Reverting this commit will fix the issue