From 82e3c1c77432c4435d0a7da5110d04124f541ddb Mon Sep 17 00:00:00 2001 From: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> Date: Thu, 27 Jun 2024 09:44:42 +0800 Subject: [PATCH] Fix crash on preferences light theme --- lawnchair/src/app/lawnchair/theme/ColorSchemeUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lawnchair/src/app/lawnchair/theme/ColorSchemeUtils.kt b/lawnchair/src/app/lawnchair/theme/ColorSchemeUtils.kt index a0c83584428..d4e91baa1ad 100644 --- a/lawnchair/src/app/lawnchair/theme/ColorSchemeUtils.kt +++ b/lawnchair/src/app/lawnchair/theme/ColorSchemeUtils.kt @@ -140,9 +140,9 @@ fun dev.kdrag0n.monet.theme.ColorScheme.toM3ColorScheme(isDark: Boolean): ColorS onTertiary = tertiary(100), tertiaryContainer = tertiary(90), onTertiaryContainer = tertiary(10), - background = neutralVariant(98), + background = neutralVariant98, onBackground = neutralVariant(10), - surface = neutralVariant(98), + surface = neutralVariant98, onSurface = neutralVariant(10), surfaceVariant = neutralVariant(90), onSurfaceVariant = neutralVariant(30),