diff options
| author | AAGaming <aa@bigdumb.gq> | 2022-06-01 17:46:56 -0400 |
|---|---|---|
| committer | AAGaming <aa@bigdumb.gq> | 2022-06-01 17:46:56 -0400 |
| commit | 26dc961f583f66b8333d4f4ddbdba51c00676a7e (patch) | |
| tree | 37bf9756e8c82d464fb3b736c065dbf152591c1e /src/index.tsx | |
| parent | d8870f20620fc459ed284f652eb204366e6e317d (diff) | |
| download | decky-bazzite-buddy-26dc961f583f66b8333d4f4ddbdba51c00676a7e.tar.gz decky-bazzite-buddy-26dc961f583f66b8333d4f4ddbdba51c00676a7e.zip | |
showModal->showContextMenu
Diffstat (limited to 'src/index.tsx')
| -rwxr-xr-x[-rw-r--r--] | src/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.tsx b/src/index.tsx index 89de1b7..615253d 100644..100755 --- 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> |
