From e4a65ec612a9ac35aff8121aedc5d49583673f6c Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Mon, 19 Jul 2021 00:31:17 -0400 Subject: [PATCH] ThemePreference lint run --- .../java/eu/kanade/tachiyomi/ui/setting/ThemePreference.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/ThemePreference.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/ThemePreference.kt index 2ec4810777..be21d53f76 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/ThemePreference.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/ThemePreference.kt @@ -1,6 +1,5 @@ package eu.kanade.tachiyomi.ui.setting -import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.res.ColorStateList @@ -234,7 +233,8 @@ class ThemePreference @JvmOverloads constructor(context: Context, attrs: Attribu binding.checkbox.alpha = if (themeMatchesApp) 1f else 0.5f } if (item.theme.styleRes == R.style.Theme_Tachiyomi_Monet && - Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + Build.VERSION.SDK_INT >= Build.VERSION_CODES.S + ) { val nightMode = item.isDarkTheme val appBar = context.contextCompatColor( if (nightMode) android.R.color.system_neutral1_900