esdrasdl
04/04/2023, 6:34 PM@Preview(showSystemUi = true, showBackground = true, device = Devices.PHONE)
@Preview(showSystemUi = true, showBackground = true, device = Devices.NEXUS_7_2013)
@Preview(showSystemUi = true, showBackground = true, device = Devices.NEXUS_5)
annotation class DevicePreviews
It works like a charm inside of DS project. But it doesn’t work in our main app. The Android Studios doesn’t render any preview with this annotation.
We are using compose bom 2023.01.00
in both main app and design system lib.
Is it a bug or did I miss something to make it work?Colton Idle
04/04/2023, 6:45 PMesdrasdl
04/04/2023, 6:51 PM