setConfig method

Future<List<String>> setConfig(
  1. MesiboUiConfig config
)

Applies the settings changed in config (read with getConfig); the problems found, for example an unknown setting or a wrong type (the other settings are applied anyway). They are kept: each time a theme is applied, the configuration is made new (the theme's defaults, then its saved customization) and these settings are applied on it again.

Implementation

Future<List<String>> setConfig(MesiboUiConfig config) async {
	List<String> problems = await super.applyUiConfig(config.changedJson());
	config.clearChanged();
	return problems;
}