forked from DebaucheryLibrarian/traxxx
14 lines
495 B
JavaScript
14 lines
495 B
JavaScript
const storedFilter = localStorage.getItem('filter');
|
|
const storedRange = localStorage.getItem('range');
|
|
const storedBatch = localStorage.getItem('batch');
|
|
const storedSfw = localStorage.getItem('sfw');
|
|
const storedTheme = localStorage.getItem('theme');
|
|
|
|
export default {
|
|
filter: storedFilter ? storedFilter.split(',') : ['gay', 'transsexual'],
|
|
range: storedRange || 'latest',
|
|
batch: storedBatch || 'all',
|
|
sfw: storedSfw === 'true' || false,
|
|
theme: storedTheme || 'light',
|
|
};
|