From 411ede9d5e7d02b35f221a8ae088036bae470c21 Mon Sep 17 00:00:00 2001 From: Schoolkid1 Date: Fri, 11 Aug 2023 10:36:17 +0200 Subject: [PATCH] Attempt 2 on solving issue #661 Changed the code to an integer --- app/src/main/java/com/jerboa/ui/theme/Color.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/jerboa/ui/theme/Color.kt b/app/src/main/java/com/jerboa/ui/theme/Color.kt index af55d6d99..74a4eab65 100644 --- a/app/src/main/java/com/jerboa/ui/theme/Color.kt +++ b/app/src/main/java/com/jerboa/ui/theme/Color.kt @@ -211,7 +211,7 @@ fun blue(): Pair { val md_theme_dark_inverseOnSurface = Color(0xFF1A1C20) val md_theme_dark_inverseSurface = Color(0xFFE0E4EB) val md_theme_dark_inversePrimary = Color(0xFF3161A6) - val toolbar.setBackgroundColor(0xFF000000) + val toolbar.setBackgroundColor(0xFF000000.toInt()) // val md_theme_dark_shadow = Color(0xFF000000) val md_theme_dark_surfaceTint = Color(0xFFB0D0FF) val md_theme_dark_outlineVariant = Color(0xFF434851)