aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/downloadManager
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-03-22 02:33:33 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-03-21 21:24:35 +0000
commit2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch)
treed919bda212744493a7b66c2e91a75455421d62cc /src/components/downloadManager
parentUpgrade electron to '29.1.5' (diff)
downloadferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip
Upgrade node modules
Diffstat (limited to 'src/components/downloadManager')
-rw-r--r--src/components/downloadManager/DownloadManagerDashboard.tsx34
-rw-r--r--src/components/downloadManager/DownloadManagerLayout.tsx13
2 files changed, 26 insertions, 21 deletions
diff --git a/src/components/downloadManager/DownloadManagerDashboard.tsx b/src/components/downloadManager/DownloadManagerDashboard.tsx
index 25e73d48f..490be269d 100644
--- a/src/components/downloadManager/DownloadManagerDashboard.tsx
+++ b/src/components/downloadManager/DownloadManagerDashboard.tsx
@@ -1,29 +1,29 @@
1import { Component } from 'react'; 1import { mdiDownload } from '@mdi/js';
2import { observer } from 'mobx-react'; 2import CancelIcon from '@mui/icons-material/Cancel';
3import { IntlShape, defineMessages, injectIntl } from 'react-intl'; 3import ClearAllIcon from '@mui/icons-material/ClearAll';
4import { shell } from 'electron'; 4import DeleteIcon from '@mui/icons-material/Delete';
5import prettyBytes from 'pretty-bytes'; 5import FolderIcon from '@mui/icons-material/Folder';
6import PauseIcon from '@mui/icons-material/Pause';
7import PlayArrowIcon from '@mui/icons-material/PlayArrow';
6import { 8import {
7 Typography, 9 Box,
8 Card, 10 Card,
9 CardContent, 11 CardContent,
10 LinearProgress,
11 Box,
12 IconButton, 12 IconButton,
13 LinearProgress,
13 ListItemButton, 14 ListItemButton,
14 ListItemIcon, 15 ListItemIcon,
15 ListItemText, 16 ListItemText,
17 Typography,
16} from '@mui/material'; 18} from '@mui/material';
17import { mdiDownload } from '@mdi/js'; 19import { shell } from 'electron';
18import PlayArrowIcon from '@mui/icons-material/PlayArrow';
19import PauseIcon from '@mui/icons-material/Pause';
20import CancelIcon from '@mui/icons-material/Cancel';
21import FolderIcon from '@mui/icons-material/Folder';
22import DeleteIcon from '@mui/icons-material/Delete';
23import ClearAllIcon from '@mui/icons-material/ClearAll';
24import { round } from 'lodash'; 20import { round } from 'lodash';
25import { RealStores } from '../../stores'; 21import { observer } from 'mobx-react';
26import { Actions } from '../../actions/lib/actions'; 22import prettyBytes from 'pretty-bytes';
23import { Component } from 'react';
24import { type IntlShape, defineMessages, injectIntl } from 'react-intl';
25import type { Actions } from '../../actions/lib/actions';
26import type { RealStores } from '../../stores';
27import Icon from '../ui/icon'; 27import Icon from '../ui/icon';
28 28
29const messages = defineMessages({ 29const messages = defineMessages({
diff --git a/src/components/downloadManager/DownloadManagerLayout.tsx b/src/components/downloadManager/DownloadManagerLayout.tsx
index 1e018cfb8..08c0ace1e 100644
--- a/src/components/downloadManager/DownloadManagerLayout.tsx
+++ b/src/components/downloadManager/DownloadManagerLayout.tsx
@@ -1,14 +1,19 @@
1import React, { Component } from 'react';
2import { inject, observer } from 'mobx-react'; 1import { inject, observer } from 'mobx-react';
3import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; 2import type React from 'react';
3import { Component } from 'react';
4import {
5 type WrappedComponentProps,
6 defineMessages,
7 injectIntl,
8} from 'react-intl';
4 9
5import { mdiClose } from '@mdi/js'; 10import { mdiClose } from '@mdi/js';
6import { Outlet } from 'react-router-dom'; 11import { Outlet } from 'react-router-dom';
7import { Actions } from '../../actions/lib/actions'; 12import type { Actions } from '../../actions/lib/actions';
8import { isEscKeyPress } from '../../jsUtils'; 13import { isEscKeyPress } from '../../jsUtils';
9import Appear from '../ui/effects/Appear'; 14import Appear from '../ui/effects/Appear';
10import ErrorBoundary from '../util/ErrorBoundary';
11import Icon from '../ui/icon'; 15import Icon from '../ui/icon';
16import ErrorBoundary from '../util/ErrorBoundary';
12 17
13const messages = defineMessages({ 18const messages = defineMessages({
14 closeSettings: { 19 closeSettings: {