From 4d662369c95a52858d88bd9e5495a19aa44471a2 Mon Sep 17 00:00:00 2001 From: blomios Date: Fri, 2 Oct 2026 15:15:06 +0200 Subject: [PATCH] fix: clear persistent Laya warning and apply language selection immediately (#12) Two fixes: the ChannelList local-AI warning kept showing after the runtime became available because status changes were not re-evaluated on refresh; and selecting a language in the player did not switch the stream variant immediately. Refresh warning visibility from the latest laya status and apply the chosen variant/language on selection, with tests for both behaviors. Co-Authored-By: Claude Opus 4.8 --- public/index.html | 8 ++++---- public/js/components/ChannelList.js | 13 +++++++++++-- public/js/pages/Settings.js | 5 +++++ public/js/services/channelVariantGrouping.js | 19 +++++++++++++++++++ public/js/services/layaStatusPresentation.js | 5 ++++- test/channelVariantGrouping.test.js | 19 +++++++++++++++++++ test/layaStatusPresentation.test.js | 2 +- 7 files changed, 63 insertions(+), 8 deletions(-) diff --git a/public/index.html b/public/index.html index bb4c2d2..287b703 100644 --- a/public/index.html +++ b/public/index.html @@ -1184,9 +1184,9 @@ - - - + + + @@ -1194,7 +1194,7 @@ - +