diff --git a/app/build.gradle b/app/build.gradle index 616ba4b..b9ea9be 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "top.fumiama.copymanga" minSdkVersion 23 targetSdkVersion 30 - versionCode 2 - versionName '1.1' + versionCode 3 + versionName '1.1.1' resConfigs "zh", "zh-rCN" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/top/fumiama/copymanga/activity/ViewMangaActivity.kt b/app/src/main/java/top/fumiama/copymanga/activity/ViewMangaActivity.kt index 47571ee..3f852f1 100644 --- a/app/src/main/java/top/fumiama/copymanga/activity/ViewMangaActivity.kt +++ b/app/src/main/java/top/fumiama/copymanga/activity/ViewMangaActivity.kt @@ -43,7 +43,7 @@ class ViewMangaActivity : Activity() { var r2l = true private var currentItem = 0 private var notUseVP = true - private var q = 90 + //private var q = 90 var infoDrawerDelta = 0f lateinit var toolsBox: ToolsBox private lateinit var p: PropertiesTools @@ -79,8 +79,8 @@ class ViewMangaActivity : Activity() { //toolsBox = ToolsBox(WeakReference(this)) notUseVP = p["noAnimation"] == "true" handler = MyHandler(infcard, toolsBox) - if (p["quality"] == "null") p["quality"] = "90" - else q = p["quality"].toInt() + //if (p["quality"] == "null") p["quality"] = "90" + //else q = p["quality"].toInt() tt = TimeThread(handler, 22) tt.canDo = true tt.start() @@ -148,6 +148,7 @@ class ViewMangaActivity : Activity() { } private fun prepareIdBtVP() { + idtbvp.isChecked = notUseVP idtbvp.setOnClickListener { if (idtbvp.isChecked) p["noAnimation"] = "true" else p["noAnimation"] = "false"