fix: re-add gCastEnabled negation (#29499)

This commit is contained in:
bo0tzz 2026-07-03 11:05:22 +02:00 committed by GitHub
parent f77c8a4699
commit 13d17b3a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ export class GCastDestination implements ICastDestination {
private currentUrl: string | null = null;
async initialize(): Promise<boolean> {
if (!authManager.authenticated || authManager.preferences.cast.gCastEnabled) {
if (!authManager.authenticated || !authManager.preferences.cast.gCastEnabled) {
this.isAvailable = false;
return false;
}