From d2a8e5d9e7ec72cf2e8604ec04bf3010f2887a09 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 6 Sep 2019 10:17:49 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/readbook/ReadBookActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 7ab90a2f0..899074477 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -47,7 +47,6 @@ import kotlinx.coroutines.Dispatchers.IO import kotlinx.coroutines.Dispatchers.Main import kotlinx.coroutines.launch import kotlinx.coroutines.withContext -import okhttp3.internal.toHexString import org.jetbrains.anko.sdk27.listeners.onClick import org.jetbrains.anko.startActivity import org.jetbrains.anko.startActivityForResult @@ -499,7 +498,7 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea postEvent(Bus.UP_CONFIG, false) } BG_COLOR -> { - setBg(0, "#${color.toHexString()}") + setBg(0, "#${color.hexString}") ReadBookConfig.upBg() postEvent(Bus.UP_CONFIG, false) }