Wizard: minor, not to use reading context directly in some places
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class Module(
|
||||
else -> "Module"
|
||||
}
|
||||
|
||||
fun ReadingContext.initDefaultValuesForSettings(context: Context) {
|
||||
fun ReadingContext.initDefaultValuesForSettings() {
|
||||
configurator.safeAs<ModuleConfiguratorWithSettings>()?.initDefaultValuesFor(this@Module, context)
|
||||
template?.apply { initDefaultValuesFor(this@Module, context) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user