jonulak.bsky.social
@jonulak.bsky.social
You could also create a custom environment modifier as this approach will cause native components to have their opacity reduced multiplicatively.
December 2, 2024 at 9:39 PM
You could make this work with the disabled modifier and associated isEnabled environment variable. See example int gist.
DisableableView.swift
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
December 2, 2024 at 9:31 PM