We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26b452 commit 15f1829Copy full SHA for 15f1829
web/src/lib/utils/cast/gcast-destination.svelte.ts
@@ -27,7 +27,7 @@ export class GCastDestination implements ICastDestination {
27
28
async initialize(): Promise<boolean> {
29
const preferencesStore = get(preferences);
30
- if (!preferencesStore.cast.gCastEnabled) {
+ if (!preferencesStore || !preferencesStore.cast.gCastEnabled) {
31
this.isAvailable = false;
32
return false;
33
}
0 commit comments