From 8c8cf180fad2ad6951ad7ce6b74e6c163fa01d18 Mon Sep 17 00:00:00 2001
From: AAGaming <aa@mail.catvibers.me>
Date: Thu, 14 Jul 2022 22:51:55 -0400
Subject: Updater for decky-loader (#117)

* Add an updater in settings for decky-loader

* add chmod

* remove junk comments
---
 .../src/components/settings/pages/PluginList.tsx   | 34 ----------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 frontend/src/components/settings/pages/PluginList.tsx

(limited to 'frontend/src/components/settings/pages/PluginList.tsx')

diff --git a/frontend/src/components/settings/pages/PluginList.tsx b/frontend/src/components/settings/pages/PluginList.tsx
deleted file mode 100644
index bf01f85a..00000000
--- a/frontend/src/components/settings/pages/PluginList.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import { DialogButton, staticClasses } from 'decky-frontend-lib';
-import { FaTrash } from 'react-icons/fa';
-
-import { useDeckyState } from '../../DeckyState';
-
-export default function PluginList() {
-  const { plugins } = useDeckyState();
-
-  if (plugins.length === 0) {
-    return (
-      <div>
-        <p>No plugins installed</p>
-      </div>
-    );
-  }
-
-  return (
-    <ul style={{ listStyleType: 'none' }}>
-      {plugins.map(({ name }) => (
-        <li style={{ display: 'flex', flexDirection: 'row', alignItems: 'center' }}>
-          <span>{name}</span>
-          <div className={staticClasses.Title} style={{ marginLeft: 'auto', boxShadow: 'none' }}>
-            <DialogButton
-              style={{ height: '40px', width: '40px', padding: '10px 12px' }}
-              onClick={() => window.DeckyPluginLoader.uninstall_plugin(name)}
-            >
-              <FaTrash />
-            </DialogButton>
-          </div>
-        </li>
-      ))}
-    </ul>
-  );
-}
-- 
cgit v1.2.3

