blob: 4cab1077ffa73b894733e3fc98c70c7c61b7a5eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import Setting from '../domains/Setting';
export default class SettingRepository {
async load() {
let { settings } = await browser.storage.local.get('settings');
if (!settings) {
return null;
}
return Setting.deserialize(settings);
}
}
|