From cd9ef336c24ee32c94575984415088d4ceea876c Mon Sep 17 00:00:00 2001 From: Shalitha Suranga Date: Thu, 19 Sep 2024 16:39:19 +0530 Subject: [PATCH] Export window.isMinimized() --- src/api/window.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/window.ts b/src/api/window.ts index 6464390..a8ab729 100644 --- a/src/api/window.ts +++ b/src/api/window.ts @@ -39,6 +39,10 @@ export function unminimize(): Promise { return sendMessage('window.unminimize'); }; +export function isMinimized(): Promise { + return sendMessage('window.isMinimized'); +}; + export function setFullScreen(): Promise { return sendMessage('window.setFullScreen'); };