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:
parent
fc828972d8
commit
7d6df5d918
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Bato.to'
|
extName = 'Bato.to'
|
||||||
extClass = '.BatoToFactory'
|
extClass = '.BatoToFactory'
|
||||||
extVersionCode = 50
|
extVersionCode = 51
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ open class BatoTo(
|
|||||||
pm.getPackageInfo(BuildConfig.APPLICATION_ID, 0).lastUpdateTime
|
pm.getPackageInfo(BuildConfig.APPLICATION_ID, 0).lastUpdateTime
|
||||||
}.getOrElse {
|
}.getOrElse {
|
||||||
BuildConfig.VERSION_NAME.hashCode().toLong()
|
BuildConfig.VERSION_NAME.hashCode().toLong()
|
||||||
}
|
}.coerceAtLeast(0)
|
||||||
|
|
||||||
MIRROR_PREF_ENTRY_VALUES[1 + (seed % (MIRROR_PREF_ENTRIES.size - 1)).toInt()]
|
MIRROR_PREF_ENTRY_VALUES[1 + (seed % (MIRROR_PREF_ENTRIES.size - 1)).toInt()]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user