summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/backup-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/backup-controller.js')
-rw-r--r--ext/js/pages/settings/backup-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/pages/settings/backup-controller.js b/ext/js/pages/settings/backup-controller.js
index ba36a828..a232ce34 100644
--- a/ext/js/pages/settings/backup-controller.js
+++ b/ext/js/pages/settings/backup-controller.js
@@ -16,9 +16,9 @@
*/
/* global
+ * ArrayBufferUtil
* DictionaryController
* OptionsUtil
- * StringUtil
*/
class BackupController {
@@ -319,7 +319,7 @@ class BackupController {
}
async _importSettingsFile(file) {
- const dataString = StringUtil.arrayBufferUtf8Decode(await this._readFileArrayBuffer(file));
+ const dataString = ArrayBufferUtil.arrayBufferUtf8Decode(await this._readFileArrayBuffer(file));
const data = JSON.parse(dataString);
// Type check