aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-08-20 12:53:22 -0400
committerGitHub <noreply@github.com>2022-08-20 12:53:22 -0400
commitd3807d88ecf40b2c37ed31d823af038a091ffca0 (patch)
treecc79293c901c3274beecce0e9f5e9f35efcb9ec8 /ext/js/pages/settings
parentcd0a6b60e2f910e497a5b72bee1a27a0d1c575d2 (diff)
ArrayBufferUtil (#2215)
* Rename StringUtil to ArrayBufferUtil * Update docs * Rename file string-util.js to array-buffer-util.js
Diffstat (limited to 'ext/js/pages/settings')
-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