Add a refresh function to GenericSettingsController (#929)

This commit is contained in:
toasted-nutbread 2020-10-17 21:38:29 -04:00 committed by GitHub
parent 74feeb228f
commit a4550627af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,10 @@ class GenericSettingController {
this._settingsController.on('optionsChanged', this._onOptionsChanged.bind(this));
}
async refresh() {
await this._dataBinder.refresh();
}
// Private
_onOptionsChanged() {