diff options
| author | David Beall <beallio@users.noreply.github.com> | 2026-08-02 14:26:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-02 17:26:12 -0400 |
| commit | b4b8be3297e427dad6fbc6697ffdb765a796f7fd (patch) | |
| tree | e69393cf2748df50a08c2128e7d20c9df542b0c5 /frontend/src/components/modals/MultiplePluginsInstallModal.tsx | |
| parent | 3e4302e2e58f39d6289d95a64edbb931f3831668 (diff) | |
| download | decky-loader-b4b8be3297e427dad6fbc6697ffdb765a796f7fd.tar.gz decky-loader-b4b8be3297e427dad6fbc6697ffdb765a796f7fd.zip | |
Co-authored-by: David Beall <6121439+beallio@users.noreply.github.com>
Diffstat (limited to 'frontend/src/components/modals/MultiplePluginsInstallModal.tsx')
| -rw-r--r-- | frontend/src/components/modals/MultiplePluginsInstallModal.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/frontend/src/components/modals/MultiplePluginsInstallModal.tsx b/frontend/src/components/modals/MultiplePluginsInstallModal.tsx index e5c1c647..4a386997 100644 --- a/frontend/src/components/modals/MultiplePluginsInstallModal.tsx +++ b/frontend/src/components/modals/MultiplePluginsInstallModal.tsx @@ -1,9 +1,10 @@ -import { ConfirmModal, Navigation, ProgressBarWithInfo, QuickAccessTab } from '@decky/ui'; +import { ConfirmModal, Navigation, QuickAccessTab } from '@decky/ui'; import { FC, useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { FaCheck, FaDownload } from 'react-icons/fa'; import { DisabledPlugin, InstallType, InstallTypeTranslationMapping } from '../../plugin'; +import PluginInstallProgress from './PluginInstallProgress'; interface MultiplePluginsInstallModalProps { requests: { name: string; version: string; hash: string; install_type: InstallType }[]; @@ -132,15 +133,12 @@ const MultiplePluginsInstallModal: FC<MultiplePluginsInstallModalProps> = ({ ); })} </ul> - {/* TODO: center the progress bar and make it 80% width */} {loading && ( - <ProgressBarWithInfo + <PluginInstallProgress // when the key changes, react considers this a new component so resets the progress without the smoothing animation key={pluginInProgress} - bottomSeparator="none" - focusable={false} - nProgress={percentage} - sOperationText={downloadInfo} + percentage={percentage} + operationText={downloadInfo} /> )} </div> |
