From 25f416719bb11e87e60484b874f606cc46edb0ad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 14 Aug 2025 18:34:26 +0300 Subject: bump amount of retries when trying to auto-switch theme --- js/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/App.js b/js/App.js index ae3eecb09..370391f86 100644 --- a/js/App.js +++ b/js/App.js @@ -172,7 +172,7 @@ const App = { console.log("nightModeChanged: night mode changed to", is_night, "retry", retry); if (link) { - if (retry < 5) { + if (retry < 15) { window.clearTimeout(this._night_mode_retry_timeout); this._night_mode_retry_timeout = window.setTimeout( -- cgit v1.2.3-54-g00ecf