's Avatar

@jonulak.bsky.social

16 Followers  |  159 Following  |  2 Posts  |  Joined: 15.11.2024  |  1.524

Latest posts by jonulak.bsky.social on Bluesky

You could also create a custom environment modifier as this approach will cause native components to have their opacity reduced multiplicatively.

02.12.2024 21:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
DisableableView.swift GitHub Gist: instantly share code, notes, and snippets.

You could make this work with the disabled modifier and associated isEnabled environment variable. See example int gist.

02.12.2024 21:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@jonulak is following 20 prominent accounts