1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Desktop: Fix keyboard can't add text after certain error/info dialogs are shown (#11603)

This commit is contained in:
Henry Heino
2025-01-08 04:30:16 -08:00
committed by GitHub
parent 633d87ebfe
commit e1e2ba8888
12 changed files with 36 additions and 19 deletions

View File

@@ -16,6 +16,7 @@ import { connect } from 'react-redux';
import { AppState } from '../app.reducer';
import { getEncryptionEnabled } from '@joplin/lib/services/synchronizer/syncInfoUtils';
import SyncTargetRegistry from '@joplin/lib/SyncTargetRegistry';
import shim from '@joplin/lib/shim';
const { clipboard } = require('electron');
interface Props {
@@ -146,7 +147,7 @@ export function ShareNoteDialog(props: Props) {
reg.logger().error('ShareNoteDialog: Cannot publish note:', error);
setSharesState('idle');
alert(JoplinServerApi.connectionErrorMessage(error));
void shim.showErrorDialog(JoplinServerApi.connectionErrorMessage(error));
}
break;