Skip to content

Commit

Permalink
fix: template not removed from appConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-TSNG committed Jul 15, 2021
1 parent e58651b commit 292ec18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ android {
cppFlags += "-std=c++20"
}

versionCode = 52
versionName = "2.0.3"
versionCode = 53
versionName = "2.0.4"
buildConfigField("int", "SERVICE_VERSION", "52")
buildConfigField("int", "MIN_RIRU_VERSION", "23")
buildConfigField("int", "MIN_BACKUP_VERSION", "49")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class TemplateSettingsFragment : Fragment() {
.setPositiveButton(android.R.string.ok) { _, _ ->
JsonConfigManager.edit {
for ((_, appConfig) in scope)
appConfig.applyHooks.remove(oldTemplateName)
appConfig.applyTemplates.remove(oldTemplateName)
templates.remove(oldTemplateName)
}
activity.onBackPressed()
Expand Down

0 comments on commit 292ec18

Please sign in to comment.