diff --git a/src/renderer/src/components/MinApp/index.tsx b/src/renderer/src/components/MinApp/index.tsx index f781eb1f..55659193 100644 --- a/src/renderer/src/components/MinApp/index.tsx +++ b/src/renderer/src/components/MinApp/index.tsx @@ -31,6 +31,7 @@ const PopupContainer: React.FC = ({ app, resolve }) => { useBridge() const canOpenExternalLink = app.url.startsWith('http://') || app.url.startsWith('https://') + const canPinned = !!app.id const onClose = async (_delay = 0.3) => { setOpen(false) @@ -63,9 +64,11 @@ const PopupContainer: React.FC = ({ app, resolve }) => { - + {canPinned && ( + + )} {canOpenExternalLink && (