fix: prioritize URL path over localStorage for language detection

Bot keyboard sends language via URL path (/tr, /ar, etc.).
Previously localStorage was checked first, so once a user had
'en' saved, clicking a different language button in the bot had
no effect. Now URL path always wins over localStorage.
This commit is contained in:
2026-02-25 19:46:10 +03:00
parent fad8291c90
commit 2fbbce192f
3 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pezkuwi-telegram-miniapp",
"version": "1.0.222",
"version": "1.0.224",
"type": "module",
"description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards",
"author": "Pezkuwichain Team",