From 6d4a5ad8bd954db0237418021f3631d7498bd28b Mon Sep 17 00:00:00 2001 From: xds Date: Mon, 19 Jan 2026 12:10:04 +0300 Subject: [PATCH] fix --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 51ae642..8aac9f2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,11 +51,11 @@ function setupBackButton() { backHandler = null; } - if (window.history.length >= 1) { + if (window.history.length > 1) { tgApp.BackButton.show(); backHandler = () => { - if (window.history.length >= 1) { + if (window.history.length > 1) { router.back(); } else { tgApp.close();