mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Feature / Add working notifications with only twitter for now (#102)
* Add working notifications with only twitter for now * feat(notification-bar): I didnt copy from NP * Make default browser visibility true * feat(notifications): Collapse when no more notifications after closing one
This commit is contained in:
1 parent
11af8bfb5a
commit
40ec19a349
19 files changed
+497
-153
No files matched your search
@@ -22,7 +22,15 @@ export const settingsState = atom({
|
||||
effects_UNSTABLE: [localStorageEffect('settings')],
|
||||
});
|
||||
|
||||
interface IPhoneSettings {
|
||||
wallpaper: string;
|
||||
frame: string;
|
||||
theme: string;
|
||||
zoom: number;
|
||||
ringtone: string;
|
||||
ringtoneVol: number;
|
||||
}
|
||||
|
||||
export const useSettings = () => {
|
||||
const [settings, setSettings] = useRecoilState(settingsState);
|
||||
return [settings, setSettings];
|
||||
return useRecoilState<IPhoneSettings>(settingsState);
|
||||
};
|
||||
Reference in new issue
Block a user