Random refactoring

This commit is contained in:
Jays2Kings 2021-04-09 15:04:41 -04:00
parent c5785e9b6f
commit f7dd1211da
3 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,8 @@ class ExtensionDetailsController(bundle: Bundle? = null) :
context.getString( context.getString(
R.string._must_be_enabled_first, R.string._must_be_enabled_first,
title title
), Snackbar.LENGTH_LONG ),
Snackbar.LENGTH_LONG
) { ) {
setAction(R.string.enable) { setAction(R.string.enable) {
preferences.enabledLanguages() += source.lang preferences.enabledLanguages() += source.lang

View File

@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.ui.binding.webview package eu.kanade.tachiyomi.ui.webview
import android.content.res.Configuration import android.content.res.Configuration
import android.graphics.Color import android.graphics.Color

View File

@ -17,7 +17,6 @@ import androidx.core.graphics.ColorUtils
import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.source.SourceManager import eu.kanade.tachiyomi.source.SourceManager
import eu.kanade.tachiyomi.source.online.HttpSource import eu.kanade.tachiyomi.source.online.HttpSource
import eu.kanade.tachiyomi.ui.binding.webview.BaseWebViewActivity
import eu.kanade.tachiyomi.util.system.WebViewClientCompat import eu.kanade.tachiyomi.util.system.WebViewClientCompat
import eu.kanade.tachiyomi.util.system.getResourceColor import eu.kanade.tachiyomi.util.system.getResourceColor
import eu.kanade.tachiyomi.util.system.openInBrowser import eu.kanade.tachiyomi.util.system.openInBrowser