From 72f8fb145005c3e7f1c2ee64ed2780e437cc75c0 Mon Sep 17 00:00:00 2001 From: index Date: Wed, 14 Oct 2020 19:28:38 +0800 Subject: [PATCH] v1.1.1 --- app/build.gradle | 4 ++-- .../top/fumiama/copymanga/activity/ViewMangaActivity.kt | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) 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"