From f7dd1211dae9e5ad7697745d92b94b82b8620818 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Fri, 9 Apr 2021 15:04:41 -0400 Subject: [PATCH] Random refactoring --- .../ui/extension/details/ExtensionDetailsController.kt | 3 ++- .../java/eu/kanade/tachiyomi/ui/webview/BaseWebViewActivity.kt | 2 +- .../java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/details/ExtensionDetailsController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/details/ExtensionDetailsController.kt index 1a854c4631..2763462f6b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/extension/details/ExtensionDetailsController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/extension/details/ExtensionDetailsController.kt @@ -206,7 +206,8 @@ class ExtensionDetailsController(bundle: Bundle? = null) : context.getString( R.string._must_be_enabled_first, title - ), Snackbar.LENGTH_LONG + ), + Snackbar.LENGTH_LONG ) { setAction(R.string.enable) { preferences.enabledLanguages() += source.lang diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/BaseWebViewActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/BaseWebViewActivity.kt index 74934d3a37..1731984ff4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/BaseWebViewActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/BaseWebViewActivity.kt @@ -1,4 +1,4 @@ -package eu.kanade.tachiyomi.ui.binding.webview +package eu.kanade.tachiyomi.ui.webview import android.content.res.Configuration import android.graphics.Color diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt index 4df088927e..a57342085f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt @@ -17,7 +17,6 @@ import androidx.core.graphics.ColorUtils import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.source.SourceManager 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.getResourceColor import eu.kanade.tachiyomi.util.system.openInBrowser