Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f3f17d08e |
@@ -19,7 +19,7 @@ android {
|
|||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 70
|
versionCode = 70
|
||||||
versionName = "5.3.21"
|
versionName = "5.3.22"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -12,7 +12,7 @@
|
|||||||
"filters": [],
|
"filters": [],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 70,
|
"versionCode": 70,
|
||||||
"versionName": "5.3.21",
|
"versionName": "5.3.22",
|
||||||
"outputFile": "app-release.apk"
|
"outputFile": "app-release.apk"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ object gg {
|
|||||||
suspend fun subdomainFromURL(url: String, base: String? = null, dir: String? = null): String {
|
suspend fun subdomainFromURL(url: String, base: String? = null, dir: String? = null): String {
|
||||||
var retval = ""
|
var retval = ""
|
||||||
|
|
||||||
if (!base.isNullOrBlank()) {
|
if (base.isNullOrBlank()) {
|
||||||
when {
|
when {
|
||||||
dir == "webp" -> retval = "w"
|
dir == "webp" -> retval = "w"
|
||||||
dir == "avif" -> retval = "a"
|
dir == "avif" -> retval = "a"
|
||||||
@@ -294,7 +294,7 @@ suspend fun urlFromUrlFromHash(
|
|||||||
urlFromUrl(urlFromHash(galleryID, image, dir, ext), base, dir)
|
urlFromUrl(urlFromHash(galleryID, image, dir, ext), base, dir)
|
||||||
|
|
||||||
suspend fun imageUrlFromImage(galleryID: Int, image: GalleryFiles, noWebp: Boolean): String {
|
suspend fun imageUrlFromImage(galleryID: Int, image: GalleryFiles, noWebp: Boolean): String {
|
||||||
return urlFromUrlFromHash(galleryID, image, "webp", null, "a")
|
return urlFromUrlFromHash(galleryID, image, "webp")
|
||||||
// return when {
|
// return when {
|
||||||
// noWebp ->
|
// noWebp ->
|
||||||
// urlFromUrlFromHash(galleryID, image)
|
// urlFromUrlFromHash(galleryID, image)
|
||||||
|
|||||||
Reference in New Issue
Block a user