You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Mobile: Improve sync by reducing how often note list is sorted
This commit is contained in:
@@ -40,7 +40,7 @@ import { Provider as PaperProvider, MD3DarkTheme, MD3LightTheme } from 'react-na
|
||||
const { BackButtonService } = require('./services/back-button.js');
|
||||
import NavService from '@joplin/lib/services/NavService';
|
||||
import { createStore, applyMiddleware } from 'redux';
|
||||
const reduxSharedMiddleware = require('@joplin/lib/components/shared/reduxSharedMiddleware');
|
||||
import reduxSharedMiddleware from '@joplin/lib/components/shared/reduxSharedMiddleware';
|
||||
const { shimInit } = require('./utils/shim-init-react.js');
|
||||
const { AppNav } = require('./components/app-nav.js');
|
||||
import Note from '@joplin/lib/models/Note';
|
||||
@@ -149,7 +149,7 @@ const generalMiddleware = (store: any) => (next: any) => async (action: any) =>
|
||||
const result = next(action);
|
||||
const newState = store.getState();
|
||||
|
||||
await reduxSharedMiddleware(store, next, action);
|
||||
await reduxSharedMiddleware(store, next, action, storeDispatch as any);
|
||||
|
||||
if (action.type === 'NAV_GO') Keyboard.dismiss();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user