1
0
mirror of https://github.com/fumiama/copymanga.git synced 2026-06-12 03:20:23 +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

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