So here is a little example code to illustrate the situation.
import SwiftUI struct example: View { @Environment(\\.sizeCategory) var sizeCategory @S