vendetta theme support
This commit is contained in:
parent
dfa371dafa
commit
0a5ab54c7d
2 changed files with 4 additions and 4 deletions
|
|
@ -12,8 +12,8 @@ android {
|
|||
applicationId = "cocobo1.pupu.xposed"
|
||||
minSdk = 22
|
||||
targetSdk = 36
|
||||
versionCode = 1010
|
||||
versionName = "1.0.1"
|
||||
versionCode = 1100
|
||||
versionName = "1.1.0"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ class ThemeModule : PupuModule() {
|
|||
|
||||
private fun getTheme(): Theme? {
|
||||
val filesDir = File(param.appInfo.dataDir, "files").apply { mkdirs() }
|
||||
val pupuDir = File(filesDir, "pupu").apply { mkdirs() }
|
||||
val themeFile = File(pupuDir, "current-theme.json")
|
||||
val pyonDir = File(filesDir, "pyon").apply { mkdirs() }
|
||||
val themeFile = File(pyonDir, "current-theme.json")
|
||||
|
||||
val legacyThemeFile = File(filesDir, "vendetta_theme.json")
|
||||
if (legacyThemeFile.isValidish() && !themeFile.isValidish()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue