From b4b8be3297e427dad6fbc6697ffdb765a796f7fd Mon Sep 17 00:00:00 2001 From: David Beall Date: Sun, 2 Aug 2026 14:26:12 -0700 Subject: fix: align plugin install progress (#944) Co-authored-by: David Beall <6121439+beallio@users.noreply.github.com> --- frontend/src/components/modals/PluginInstallModal.tsx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'frontend/src/components/modals/PluginInstallModal.tsx') diff --git a/frontend/src/components/modals/PluginInstallModal.tsx b/frontend/src/components/modals/PluginInstallModal.tsx index 0075fce5..012d0982 100644 --- a/frontend/src/components/modals/PluginInstallModal.tsx +++ b/frontend/src/components/modals/PluginInstallModal.tsx @@ -1,8 +1,9 @@ -import { ConfirmModal, Navigation, ProgressBarWithInfo, QuickAccessTab } from '@decky/ui'; +import { ConfirmModal, Navigation, QuickAccessTab } from '@decky/ui'; import { FC, useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { InstallType, InstallTypeTranslationMapping } from '../../plugin'; +import PluginInstallProgress from './PluginInstallProgress'; interface PluginInstallModalProps { artifact: string; @@ -66,7 +67,7 @@ const PluginInstallModal: FC = ({ await onCancel(); }} strTitle={ -
+
{ // IMPORTANT! These comments are not cosmetic and are needed for `extracttext` task to work // t('PluginInstallModal.install.title') @@ -76,16 +77,6 @@ const PluginInstallModal: FC = ({ // t('PluginInstallModal.overwrite.title') t(`PluginInstallModal.${installTypeTranslationKey}.title`, { artifact: artifact }) } - {loading && ( -
- -
- )}
} strOKButtonText={ @@ -128,6 +119,7 @@ const PluginInstallModal: FC = ({ }
{hash == 'False' && {t('PluginInstallModal.no_hash')}} + {loading && } ); }; -- cgit v1.2.3