Compare commits
3 Commits
5.1.3
...
5.1.3-hotf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19744dab37 | ||
|
|
12d58e5aa7 | ||
|
|
e46dd37a26 |
@@ -2,7 +2,7 @@
|
||||
*Pupil, Hitomi.la viewer for Android*
|
||||
|
||||

|
||||
[](https://github.com/tom5079/Pupil/releases/download/5.1.2-hotfix3/Pupil-v5.1.2-hotfix3.apk)
|
||||
[](https://github.com/tom5079/Pupil/releases/download/5.1.3/Pupil-v5.1.3.apk)
|
||||
[](https://discord.gg/Stj4b5v)
|
||||
|
||||
# Features
|
||||
|
||||
@@ -38,7 +38,7 @@ android {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
versionCode 62
|
||||
versionName "5.1.3"
|
||||
versionName "5.1.3-hotfix1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"filters": [],
|
||||
"properties": [],
|
||||
"versionCode": 62,
|
||||
"versionName": "5.1.3",
|
||||
"versionName": "5.1.3-hotfix1",
|
||||
"enabled": true,
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
|
||||
@@ -126,6 +126,7 @@ class GalleryBlockAdapter(private val galleries: List<Int>) : RecyclerSwipeAdapt
|
||||
|
||||
fun bind(galleryID: Int) {
|
||||
this.galleryID = galleryID
|
||||
updateProgress(view.context)
|
||||
|
||||
val cache = Cache.getInstance(view.context, galleryID)
|
||||
|
||||
|
||||
@@ -294,10 +294,10 @@ class DownloadService : Service() {
|
||||
}
|
||||
|
||||
fun download(galleryID: Int, priority: Boolean = false, startId: Int? = null): Job = CoroutineScope(Dispatchers.IO).launch {
|
||||
cleanCache(this@DownloadService)
|
||||
if (DownloadManager.getInstance(this@DownloadService).isDownloading(galleryID))
|
||||
return@launch
|
||||
|
||||
if (progress.containsKey(galleryID))
|
||||
cancel(galleryID)
|
||||
cleanCache(this@DownloadService)
|
||||
|
||||
val cache = Cache.getInstance(this@DownloadService, galleryID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user