refactor: LocalStorage state integration

This commit is contained in:
Taso committed 2021-01-12 11:28:20 -05:00
1 parent 5af6e4936d
commit 8912650f0e
10 files changed
+103 -154

No files matched your search

+8
View File
@@ -10,6 +10,14 @@
"surf.jpg",
"beach.jpg"
],
"defaultSettings": {
"wallpaper": "default.png",
"frame": "s10.png",
"theme": "taso-dark",
"zoom": "100%",
"ringtone": "pixel",
"ringtoneVol": 100
},
"frames": ["default.png", "s10.png", "tw.png", "samsung.png"],
"zoomOptions": ["120%", "100%", "80%", "60%", "40%"],
"ringtones": ["marimba", "pixel"],
-1
View File
@@ -1,6 +1,5 @@
import Default from '../default.json';
import { atom, useRecoilState } from 'recoil';
import useLocalStorage from '../../os/phone/hooks/useLocalStorage';
const configState = atom({
key: 'config',