mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
Fix no disconnect after 5 minute timeout (#8339)
This commit is contained in:
parent
c04419fd09
commit
c3f50ba0fb
@ -183,7 +183,7 @@ export class HomeAssistantAppEl extends QuickBarMixin(HassElement) {
|
|||||||
this._hiddenTimeout = undefined;
|
this._hiddenTimeout = undefined;
|
||||||
// setTimeout can be delayed in the background and only fire
|
// setTimeout can be delayed in the background and only fire
|
||||||
// when we switch to the tab or app again (Hey Android!)
|
// when we switch to the tab or app again (Hey Android!)
|
||||||
if (!document.hidden) {
|
if (document.hidden) {
|
||||||
this._suspendApp();
|
this._suspendApp();
|
||||||
}
|
}
|
||||||
}, 300000);
|
}, 300000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user