unhardcoded vanced themes in installer (kinda)

This commit is contained in:
X1nto 2021-01-24 23:14:03 +04:00
parent 14cabc7a8f
commit 77861b400c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ object PackageHelper {
const val apkInstallPath = "/data/adb"
private const val INSTALLER_TAG = "VMInstall"
private val vancedThemes = arrayOf("black", "dark", "pink", "blue")
private val vancedThemes = vanced.value?.array<String>("themes")?.value ?: arrayOf("black", "dark", "pink", "blue")
init {
Shell.enableVerboseLogging = BuildConfig.DEBUG