0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-26 13:12:59 +00:00

fixed variant download

This commit is contained in:
X1nto 2020-05-24 12:27:50 +04:00
parent 2e59c6c4b5
commit d942f82dc5

View file

@ -20,12 +20,12 @@ open class VariantInstall : BaseFragment() {
val arch =
when {
Build.SUPPORTED_ABIS.contains("x86") -> "x86"
Build.SUPPORTED_ABIS.contains("arm64-v8a") -> "arm64-v8a"
Build.SUPPORTED_ABIS.contains("armeabi-v7a") -> "armeabi-v7a"
else -> "armeabi-v7a"
Build.SUPPORTED_ABIS.contains("arm64-v8a") -> "arm64_v8a"
Build.SUPPORTED_ABIS.contains("armeabi-v7a") -> "armeabi_v7a"
else -> "armeabi_v7a"
}
downloadSplit("arch", arch, false, loadBar, R.id.toInstallThemeFragment)
downloadSplit("arch", arch, false, loadBar, R.id.toInstallLanguageFragment)
}
}
}