Feature/global update trigger automatically (#593)

* Move "addCategoriesToUpdateQueue" to "Updater"

* Automatically trigger the global update
This commit is contained in:
schroda
2023-07-10 11:44:14 +02:00
committed by GitHub
parent 49f2d8588a
commit 526fef85e4
8 changed files with 109 additions and 52 deletions

View File

@@ -41,6 +41,7 @@ class SystemPropertyOverrideDelegate(val getConfig: () -> Config, val moduleName
return when (T::class.simpleName) {
"Int" -> combined.toInt()
"Boolean" -> combined.toBoolean()
"Double" -> combined.toDouble()
// add more types as needed
else -> combined // covers String
} as T