Skip to content

Commit

Permalink
Merge pull request #1877 from candela97/fix-fplayers-option
Browse files Browse the repository at this point in the history
Fix FPlayers option
  • Loading branch information
tfedor authored Apr 10, 2024
2 parents 9eae745 + f84b431 commit 310b955
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/Content/Features/Store/App/FPlayers.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<script lang="ts" context="module">
// @ts-ignore
import self_ from "./FPlayers.svelte";
import {SyncedStorage} from "../../../../modulesCore";
import {Feature} from "../../../modulesContent";
import type {CApp} from "./CApp";
export class FPlayers extends Feature<CApp> {
private _data: any;
override async checkPrerequisites(): Promise<boolean> {
if (this.context.isDlcLike || this.context.isVideoOrHardware) {
if (this.context.isDlcLike
|| this.context.isVideoOrHardware
|| !SyncedStorage.get("show_players_info")) {
return false;
}
Expand Down

0 comments on commit 310b955

Please sign in to comment.