closing the selection view on inactivity

pull/1856/head
antelle 2 years ago
parent 550f93d4ae
commit 7adc77c823
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -447,7 +447,14 @@ const ProtocolHandlers = {
focusKeeWeb();
const inactivityTimer = setTimeout(() => {
selectEntryView.emit('result', undefined);
}, Timeouts.KeeWebConnectRequest / 10);
const result = await selectEntryView.showAndGetResult();
clearTimeout(inactivityTimer);
entry = result?.entry;
if (!entry) {
throw makeError(Errors.userRejected);

Loading…
Cancel
Save