You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project, we are experiencing the following problem. Does this Issue point out something similar?
// These are annotated with @Preview.
@DeviceWidthPreviews
@ThemePreviews
annotation class ComponentPreviews
// "TestPreview" is a preview function, but Lint says "There is no modifier".
@ComponentPreviews
@Composable
private fun TestPreview() {
Text(text = "Hello, World!")
}
I think this is because isPreview only checks if the function's annotation has @Preview attached to it.
No description provided.
The text was updated successfully, but these errors were encountered: