summaryrefslogtreecommitdiff
path: root/src/components/Content.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Content.tsx')
-rw-r--r--src/components/Content.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index a00a595..b76ff59 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -15,6 +15,7 @@ import { FgmodClipboardButton } from "./FgmodClipboardButton";
// import { ClipboardDisplay } from "./ClipboardDisplay";
import { PluginUpdateChecker } from "./PluginUpdateChecker";
import { NerdStuffModal } from "./NerdStuffModal";
+import { FlatpaksModal } from "./index";
import { ConfigurationData } from "../config/configSchema";
export function Content() {
@@ -76,6 +77,10 @@ export function Content() {
showModal(<NerdStuffModal />);
};
+ const handleShowFlatpaks = () => {
+ showModal(<FlatpaksModal />);
+ };
+
return (
<PanelSection>
{/* Show installation components at top when not fully installed */}
@@ -165,6 +170,16 @@ export function Content() {
Nerd Stuff
</ButtonItem>
</PanelSectionRow>
+
+ {/* Flatpaks Button */}
+ <PanelSectionRow>
+ <ButtonItem
+ layout="below"
+ onClick={handleShowFlatpaks}
+ >
+ Flatpaks
+ </ButtonItem>
+ </PanelSectionRow>
</PanelSection>
);
}