mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
refactor: LocalStorage state integration
This commit is contained in:
1 parent
5af6e4936d
commit
8912650f0e
10 files changed
+103
-154
No files matched your search
@@ -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,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',
|
||||
|
||||
Reference in new issue
Block a user