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

23 lines
520 B
TypeScript
Raw Normal View History

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,
keyboardVisible: false,
route: DEFAULT_ROUTE,
noteSelectionEnabled: false,
noteSideMenuOptions: null,
isOnMobileData: false,
disableSideMenuGestures: false,
showPanelsDialog: false,
};
export default appDefaultState;