TagSpaces is an offline, open source, document manager with tagging support
fix: closing license dialog on backdrop click or with esc button
Ilian Sapundshiev4bb20a50e611
diff --git a/app/containers/MainPage.tsx b/app/containers/MainPage.tsxindex 04064303e..b2c9f1e61 100644--- a/app/containers/MainPage.tsx+++ b/app/containers/MainPage.tsx@@ -715,7 +715,10 @@ function MainPage(props: Props) {{props.isLicenseDialogOpened && (<LicenseDialogAsyncopen={props.isLicenseDialogOpened}- onClose={() => {+ onClose={(event, reason) => {+ if (reason === 'backdropClick' || reason === 'escapeKeyDown') {+ return true;+ }setFirstRun(false);toggleLicenseDialog();}}