Batoto: Fix bug baseUrl = "Auto" (#9767)

* Fix batoto baseUrl = auto

* Update src/all/batoto/build.gradle

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

* Update BatoTo.kt

---------

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
This commit is contained in:
are-are-are 2025-07-25 23:03:17 +07:00 committed by Draff
parent fc828972d8
commit 7d6df5d918
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Bato.to'
extClass = '.BatoToFactory'
extVersionCode = 50
extVersionCode = 51
isNsfw = true
}

View File

@ -112,7 +112,7 @@ open class BatoTo(
pm.getPackageInfo(BuildConfig.APPLICATION_ID, 0).lastUpdateTime
}.getOrElse {
BuildConfig.VERSION_NAME.hashCode().toLong()
}
}.coerceAtLeast(0)
MIRROR_PREF_ENTRY_VALUES[1 + (seed % (MIRROR_PREF_ENTRIES.size - 1)).toInt()]
}