mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 16:45:06 +01:00
Random refactoring
This commit is contained in:
parent
c5785e9b6f
commit
f7dd1211da
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user