TagSpaces is an offline, open source, document manager with tagging support
chore: adjusting size of progress dialog animation
Ilian Sapundshievdf01c9bb8000
diff --git a/src/renderer/components/dialogs/ProgressDialog.tsx b/src/renderer/components/dialogs/ProgressDialog.tsxindex f509e80bc..e233c6223 100644--- a/src/renderer/components/dialogs/ProgressDialog.tsx+++ b/src/renderer/components/dialogs/ProgressDialog.tsx@@ -16,14 +16,13 @@**/-import React from 'react';-import { useTranslation } from 'react-i18next';-import DialogContent from '@mui/material/DialogContent';-import DialogTitle from '@mui/material/DialogTitle';-import Dialog from '@mui/material/Dialog';-import { CircularProgress } from '@mui/material';import DraggablePaper from '-/components/DraggablePaper';import DialogCloseButton from '-/components/dialogs/DialogCloseButton';+import { CircularProgress } from '@mui/material';+import Dialog from '@mui/material/Dialog';+import DialogContent from '@mui/material/DialogContent';+import DialogTitle from '@mui/material/DialogTitle';+import { useTranslation } from 'react-i18next';interface Props {open: boolean;@@ -40,9 +39,10 @@ function ProgressDialog(props: Props) {PaperComponent={DraggablePaper}open={open}onClose={onClose}+ style={{ minHeight: 200 }}><DialogTitle- style={{ cursor: 'move' }}+ style={{ cursor: 'move', minHeight: 20 }}data-tid="progressDialogTitle"id="draggable-dialog-title">@@ -57,12 +57,7 @@ function ProgressDialog(props: Props) {alignItems: 'center',}}>- <CircularProgress- size={24}- sx={{- display: 'contents',- }}- />+ <CircularProgress size={40} /></DialogContent></Dialog>);diff --git a/src/renderer/components/dialogs/hooks/ProgressDialogContextProvider.tsx b/src/renderer/components/dialogs/hooks/ProgressDialogContextProvider.tsxindex d97e40a17..a334be805 100644--- a/src/renderer/components/dialogs/hooks/ProgressDialogContextProvider.tsx+++ b/src/renderer/components/dialogs/hooks/ProgressDialogContextProvider.tsx@@ -16,8 +16,8 @@**/-import React, { createContext, useMemo, useReducer, useRef } from 'react';import LoadingLazy from '-/components/LoadingLazy';+import React, { createContext, useMemo, useReducer, useRef } from 'react';type ProgressDialogContextData = {openProgressDialog: (title?: string) => void;