mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-19 05:55:00 +00:00
64 lines
1.1 KiB
TypeScript
64 lines
1.1 KiB
TypeScript
import { atom } from 'recoil';
|
|
|
|
|
|
export const sortablePinnedAppsAtom = atom({
|
|
key: 'sortablePinnedAppsFromAtom',
|
|
default: [{
|
|
name: 'Q-Tube',
|
|
service: 'APP'
|
|
}, {
|
|
name: 'Q-Mail',
|
|
service: 'APP'
|
|
}, {
|
|
name: 'Q-Share',
|
|
service: 'APP'
|
|
}, {
|
|
name: 'Q-Blog',
|
|
service: 'APP'
|
|
}, {
|
|
name: 'Q-Fund',
|
|
service: 'APP'
|
|
}, {
|
|
name: 'Q-Shop',
|
|
service: 'APP'
|
|
},{
|
|
name: 'Qombo',
|
|
service: 'APP'
|
|
}
|
|
],
|
|
});
|
|
|
|
export const canSaveSettingToQdnAtom = atom({
|
|
key: 'canSaveSettingToQdnAtom',
|
|
default: false,
|
|
});
|
|
|
|
export const settingsQDNLastUpdatedAtom = atom({
|
|
key: 'settingsQDNLastUpdatedAtom',
|
|
default: -100,
|
|
});
|
|
|
|
export const settingsLocalLastUpdatedAtom = atom({
|
|
key: 'settingsLocalLastUpdatedAtom',
|
|
default: 0,
|
|
});
|
|
|
|
export const oldPinnedAppsAtom = atom({
|
|
key: 'oldPinnedAppsAtom',
|
|
default: [],
|
|
});
|
|
|
|
export const fullScreenAtom = atom({
|
|
key: 'fullScreenAtom',
|
|
default: false,
|
|
});
|
|
|
|
export const hasSettingsChangedAtom = atom({
|
|
key: 'hasSettingsChangedAtom',
|
|
default: false,
|
|
});
|
|
|
|
export const navigationControllerAtom = atom({
|
|
key: 'navigationControllerAtom',
|
|
default: {},
|
|
}); |