2024-04-15 19:17:34 +02:00
|
|
|
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,
|
2024-12-11 14:31:05 +02:00
|
|
|
keyboardVisible: false,
|
2024-04-15 19:17:34 +02:00
|
|
|
route: DEFAULT_ROUTE,
|
|
|
|
noteSelectionEnabled: false,
|
|
|
|
noteSideMenuOptions: null,
|
|
|
|
isOnMobileData: false,
|
|
|
|
disableSideMenuGestures: false,
|
|
|
|
showPanelsDialog: false,
|
|
|
|
};
|
|
|
|
export default appDefaultState;
|