1
0
mirror of https://github.com/fumiama/copymanga.git synced 2026-06-09 01:10:28 +08:00
This commit is contained in:
index
2020-10-14 19:28:38 +08:00
parent 41fa9bdf17
commit 72f8fb1450
2 changed files with 6 additions and 5 deletions

View File

@@ -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"

View File

@@ -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"