🌱 Conditional view modifiers

Source
var body: some view {
  myView
    .padding(X ? 8 : 0)
    .background(Y ? Color.blue : Color.clear)
}
Made by Brandon . If you find this project useful you can donate.