Skip to content

Commit

Permalink
Merge pull request #256 from NickM-27/main
Browse files Browse the repository at this point in the history
Fix Android clip downloading
  • Loading branch information
dermotduffy authored Jan 15, 2022
2 parents 31d769e + f68b3cb commit 3b31699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ export class FrigateCard extends LitElement {
return;
}

if (navigator.userAgent.startsWith("Home Assistant/")) {
if (navigator.userAgent.startsWith("Home Assistant/") || navigator.userAgent.startsWith("HomeAssistant/")) {
// Home Assistant companion apps cannot download files without opening a
// new browser window.
//
Expand Down

0 comments on commit 3b31699

Please sign in to comment.