()
| 180 | }; |
| 181 | |
| 182 | const requestNativeUpdate = async () => { |
| 183 | const nativeInfo = await fetchNativeSizeClass(); |
| 184 | if (nativeInfo) { |
| 185 | applySizeClass(nativeInfo); |
| 186 | } |
| 187 | }; |
| 188 | |
| 189 | const dimensionSubscription = Dimensions.addEventListener('change', () => { |
| 190 | updateFromDimensions(); |
no test coverage detected