1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/app-mobile/utils/appDefaultState.ts

22 lines
495 B
TypeScript

import { defaultState } from '@joplin/lib/reducer';
import { AppState } from './types';
export const DEFAULT_ROUTE = {
type: 'NAV_GO',
routeName: 'Notes',
smartFilterId: 'c3176726992c11e9ac940492261af972',
};
const appDefaultState: AppState = {
smartFilterId: undefined,
...defaultState,
route: DEFAULT_ROUTE,
noteSelectionEnabled: false,
noteSideMenuOptions: null,
isOnMobileData: false,
disableSideMenuGestures: false,
showPanelsDialog: false,
};
export default appDefaultState;