Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created Jun 27, 2022
Embed
What would you like to do?
nia_dynamic_color
dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
val context = LocalContext.current
if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment