From 48de8928e491ca903a0426da00edc520068fbee6 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 26 Jul 2024 14:07:58 -0400 Subject: [PATCH] chore(deprecation): deprecate useQuickAccessVisible as it has been moved to @decky/api --- src/custom-hooks/useQuickAccessVisible.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/custom-hooks/useQuickAccessVisible.ts b/src/custom-hooks/useQuickAccessVisible.ts index f76c7c49..57cdb6a4 100644 --- a/src/custom-hooks/useQuickAccessVisible.ts +++ b/src/custom-hooks/useQuickAccessVisible.ts @@ -11,12 +11,14 @@ function getQuickAccessWindow(): Window | null { /** * Returns state indicating the visibility of quick access menu. + * + * @deprecated moved to @decky/api * * @returns `true` if quick access menu is visible and `false` otherwise. * * @example * import { FC, useEffect } from "react"; - * import { useQuickAccessVisible } from "decky-frontend-lib"; + * import { useQuickAccessVisible } from "@decky/ui"; * * export const PluginPanelView: FC<{}> = ({ }) => { * const isVisible = useQuickAccessVisible();