Skip to content

Commit ede034b

Browse files
committed
fix: that wrong description of backup setting
1 parent 8adc3fb commit ede034b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/components/settingsPage.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ function normalizeSettings(settings) {
253253
return false;
254254
}
255255

256-
ensureSettingInfo(setting);
257256
return true;
258257
});
259258

@@ -263,16 +262,6 @@ function normalizeSettings(settings) {
263262
};
264263
}
265264

266-
function ensureSettingInfo(setting) {
267-
if (setting.info) return;
268-
269-
Object.defineProperty(setting, "info", {
270-
get() {
271-
return strings[`info-${this.key.toLocaleLowerCase()}`];
272-
},
273-
});
274-
}
275-
276265
function shouldEnableSearch(type, settingsCount) {
277266
return type === "united" || (type === "separate" && settingsCount > 5);
278267
}

0 commit comments

Comments
 (0)