1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Android: Fixes #7691: Sharing file to Joplin does not work

This commit is contained in:
Laurent Cozic
2023-02-10 16:12:14 +00:00
parent 02e8307093
commit a1a10a6c55
3 changed files with 34 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ export interface State {
settings: any;
sharedData: any;
appState: string;
biometricsDone: boolean;
hasDisabledSyncItems: boolean;
hasDisabledEncryptionItems: boolean;
customCss: string;
@@ -134,6 +135,7 @@ export const defaultState: State = {
settings: {},
sharedData: null,
appState: 'starting',
biometricsDone: false,
hasDisabledSyncItems: false,
hasDisabledEncryptionItems: false,
customCss: '',
@@ -1086,6 +1088,10 @@ const reducer = produce((draft: Draft<State> = defaultState, action: any) => {
draft.appState = action.state;
break;
case 'BIOMETRICS_DONE_SET':
draft.biometricsDone = action.value;
break;
case 'SYNC_HAS_DISABLED_SYNC_ITEMS':
draft.hasDisabledSyncItems = true;
break;