mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-17 15:10:24 +08:00
2.0.beta7
0. 修复beta6流量观看闪退 1. 修复漫画封面为空导致的主页闪退 2. 增加详情页导航到作者、标签 3. 增加阅览缓存、音量键页、双页切分 4. 优化卷轴模式、下载逻辑
This commit is contained in:
@@ -28,8 +28,8 @@ android {
|
||||
applicationId 'top.fumiama.copymanga'
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
versionCode 17
|
||||
versionName '2.0.beta6'
|
||||
versionCode 18
|
||||
versionName '2.0.beta7'
|
||||
resConfigs "zh", "zh-rCN"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -17,7 +17,7 @@ open class ActivityTemplate:Activity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
p = PropertiesTools(File("$filesDir/settings.properties"))
|
||||
toolsBox = UITools(WeakReference(this))
|
||||
toolsBox = UITools(this)
|
||||
}
|
||||
|
||||
override fun onWindowFocusChanged(hasFocus: Boolean) {
|
||||
|
||||
@@ -41,6 +41,7 @@ import java.io.ByteArrayInputStream
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.File
|
||||
import java.io.InputStream
|
||||
import java.lang.Thread.sleep
|
||||
import java.lang.ref.WeakReference
|
||||
import java.util.*
|
||||
import java.util.concurrent.FutureTask
|
||||
@@ -145,7 +146,7 @@ class ViewMangaActivity : TitleActivityTemplate() {
|
||||
}
|
||||
|
||||
private fun alertCellar() {
|
||||
toolsBox.buildInfo("注意", "要使用使用流量观看吗?", "确定", null, "取消", {handler.startLoad()}, null, {finish()})
|
||||
toolsBox.buildInfo("注意", "要使用使用流量观看吗?", "确定", "不再提醒", "取消", {handler.startLoad()}, { noCellarAlert = true; handler.startLoad()}, {finish()})
|
||||
}
|
||||
|
||||
fun restorePN(){
|
||||
@@ -668,5 +669,6 @@ class ViewMangaActivity : TitleActivityTemplate() {
|
||||
var dlhandler: Handler? = null
|
||||
var va: WeakReference<ViewMangaActivity>? = null
|
||||
var pn = 0
|
||||
var noCellarAlert = false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user