mirror of
https://github.com/immich-app/immich.git
synced 2026-07-05 20:57:40 +00:00
fix: re-add gCastEnabled negation (#29499)
This commit is contained in:
parent
f77c8a4699
commit
13d17b3a11
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue