From 32010cf1c7610cd400a47b32f15588e0e0b83ee3 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 5 Dec 2024 09:42:43 +0600 Subject: [PATCH] replace isActive --- .../src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebApp.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebApp.kt b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebApp.kt index 1f8ad2407c..b327b43694 100644 --- a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebApp.kt +++ b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebApp.kt @@ -15,8 +15,6 @@ external class WebApp { val platform: String - val isActive: Boolean - val initData: String val initDataUnsafe: WebAppInitData @@ -56,6 +54,7 @@ external class WebApp { fun closeScanQrPopup() fun readTextFromClipboard(callback: TextReceivedCallback? = definedExternally) + val isActive: Boolean val isFullscreen: Boolean fun requestFullscreen() fun exitFullscreen()