2019-11-15 01:37:17 +00:00
|
|
|
const storedFilter = localStorage.getItem('filter');
|
2020-03-02 02:41:41 +00:00
|
|
|
const storedBatch = localStorage.getItem('batch');
|
2020-03-23 00:43:49 +00:00
|
|
|
const storedSfw = localStorage.getItem('sfw');
|
|
|
|
const storedTheme = localStorage.getItem('theme');
|
2019-11-15 01:37:17 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
filter: storedFilter ? storedFilter.split(',') : ['gay', 'transsexual'],
|
2020-05-07 01:20:51 +00:00
|
|
|
range: 'latest',
|
2020-03-02 02:41:41 +00:00
|
|
|
batch: storedBatch || 'all',
|
2020-03-23 00:43:49 +00:00
|
|
|
sfw: storedSfw === 'true' || false,
|
|
|
|
theme: storedTheme || 'light',
|
2019-11-15 01:37:17 +00:00
|
|
|
};
|