mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-29 21:10:20 +02:00
fix(common/config): restart on rule changes
This commit is contained in:
parent
ed42ed4caf
commit
8c046e984f
@ -19,9 +19,10 @@ class Rules : ConfigContainer() {
|
||||
customTranslationPath = "rules.properties.${ruleType.key}"
|
||||
customOptionTranslationPath = "rules.modes"
|
||||
addNotices(*ruleType.configNotices)
|
||||
requireRestart()
|
||||
}.apply {
|
||||
set(ruleType.defaultValue)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user