summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-17 21:38:29 -0400
committerGitHub <noreply@github.com>2020-10-17 21:38:29 -0400
commita4550627af2968019ea4bb08ff1b0a66fa9d7615 (patch)
tree292fde0b1354a8d6b151af81b5204488763ac4da
parent74feeb228f52e32c792d44bcca129f2edf0062db (diff)
Add a refresh function to GenericSettingsController (#929)
-rw-r--r--ext/bg/js/settings/generic-setting-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/generic-setting-controller.js b/ext/bg/js/settings/generic-setting-controller.js
index cb49845a..132dc042 100644
--- a/ext/bg/js/settings/generic-setting-controller.js
+++ b/ext/bg/js/settings/generic-setting-controller.js
@@ -46,6 +46,10 @@ class GenericSettingController {
this._settingsController.on('optionsChanged', this._onOptionsChanged.bind(this));
}
+ async refresh() {
+ await this._dataBinder.refresh();
+ }
+
// Private
_onOptionsChanged() {