Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f69c7ab authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

Update app to web animation

Bug: 438356342
Test: show animation in light + dark mode
Flag: com.android.window.flags.enable_app_to_web_education_animation
Change-Id: I922979d59e1ae873bb49afbba0033936cc767fc1
parent adf48f86
Loading
Loading
Loading
Loading
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -33,13 +33,13 @@ import kotlinx.coroutines.withContext

private fun getMaterialColorMap(colorScheme: ColorScheme) =
    mapOf(
        ".Primary" to colorScheme.primary,
        ".primary" to colorScheme.primary,
        ".onPrimary" to colorScheme.onPrimary,
        ".Tertiary" to colorScheme.tertiary,
        ".Surface" to colorScheme.surface,
        ".tertiary" to colorScheme.tertiary,
        ".surface" to colorScheme.surface,
        ".onSurface" to colorScheme.onSurface,
        ".sContainerHighest" to colorScheme.surfaceContainerHighest,
        ".InverseSurface" to colorScheme.inverseSurface,
        ".inverseSurface" to colorScheme.inverseSurface,
    )

private fun applyDynamicColors(