From 26dc961f583f66b8333d4f4ddbdba51c00676a7e Mon Sep 17 00:00:00 2001
From: AAGaming <aa@bigdumb.gq>
Date: Wed, 1 Jun 2022 17:46:56 -0400
Subject: showModal->showContextMenu

---
 src/index.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 src/index.tsx

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
old mode 100644
new mode 100755
index 89de1b7..615253d
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -8,7 +8,7 @@ import {
   PanelSectionRow,
   Router,
   ServerAPI,
-  showModal,
+  showContextMenu,
   staticClasses,
 } from "decky-frontend-lib";
 import { VFC } from "react";
@@ -43,7 +43,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
         <ButtonItem
           layout="below"
           onClick={(e) =>
-            showModal(
+            showContextMenu(
               <Menu label="Menu" cancelText="CAAAANCEL" onCancel={() => {}}>
                 <MenuItem onSelected={() => {}}>Item #1</MenuItem>
                 <MenuItem onSelected={() => {}}>Item #2</MenuItem>
-- 
cgit v1.2.3

