use the public defaults

This commit is contained in:
tophf 2022-02-24 06:55:49 +03:00
parent 329d0caac1
commit e567b6d56d

View File

@ -62,7 +62,7 @@ const sorter = (() => {
]; ];
const splitRegex = /\s*,\s*/; const splitRegex = /\s*,\s*/;
const ID = 'manage.newUI.sort'; const ID = 'manage.newUI.sort';
const getPref = () => prefs.get(ID) || prefs.__defaults[ID]; const getPref = () => prefs.get(ID) || prefs.defaults[ID];
let columns = 1; let columns = 1;