v79
09/10/2023, 8:27 AMseb
09/10/2023, 10:17 AMMichael Paus
09/10/2023, 10:17 AMseb
09/10/2023, 10:19 AMseb
09/10/2023, 10:23 AMseb
09/10/2023, 10:26 AMseb
09/10/2023, 10:27 AMv79
09/10/2023, 10:37 AMv79
09/10/2023, 10:39 AMMichael Paus
09/10/2023, 11:18 AMval isTouchDevice = remember{ myCurrentDevice == PrimaryDevice.TOUCH }
CompositionLocalProvider(LocalMinimumInteractiveComponentEnforcement provides isTouchDevice) {
...
}
If isTouchDevice
is false, the minimum interactive component enforcement of Material is switched off and things can look much more desktop-like now. I’d just like to see more of such hints to improve Material for desktop use.seb
09/10/2023, 12:45 PMKirill Grouchnikov
09/10/2023, 1:42 PM