diff options
| author | EMERALD <hudson.samuels@gmail.com> | 2023-01-19 20:00:42 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 18:00:42 -0800 |
| commit | 3ebaac6752cb2b13ee5bfb6274cd7ae60b0d6bcb (patch) | |
| tree | 70b18b6f9ec2b2e23d2eef374e106a8870e794e8 /frontend/src/plugin-loader.tsx | |
| parent | cbbd56486070eab9a08253b2778fcd64877acd68 (diff) | |
| download | decky-loader-3ebaac6752cb2b13ee5bfb6274cd7ae60b0d6bcb.tar.gz decky-loader-3ebaac6752cb2b13ee5bfb6274cd7ae60b0d6bcb.zip | |
Store and plugin installation visual improvements (#343)v2.5.0-pre1
* Redesign store, add comments for filtering
* Improve installation/uninstallation modals
* Fix store comment to be easier to fix
* Add source code info to about page
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index c37e168c..bcd84b3f 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -1,13 +1,4 @@ -import { - ConfirmModal, - ModalRoot, - Patch, - QuickAccessTab, - Router, - showModal, - sleep, - staticClasses, -} from 'decky-frontend-lib'; +import { ConfirmModal, ModalRoot, Patch, QuickAccessTab, Router, showModal, sleep } from 'decky-frontend-lib'; import { FC, lazy } from 'react'; import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa'; @@ -155,10 +146,10 @@ class PluginLoader extends Logger { onCancel={() => { // do nothing }} + strTitle={`Uninstall ${name}`} + strOKButtonText={'Uninstall'} > - <div className={staticClasses.Title} style={{ flexDirection: 'column' }}> - Uninstall {name}? - </div> + Are you sure you want to uninstall {name}? </ConfirmModal>, ); } |
