Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Dec 20, 2023
1 parent 9a30615 commit ba66c17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/SongDownloader/src/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { html } from "@neptune/voby";
import { storage } from "@plugin";
import { AudioQualityInverse, PlaybackContextAudioQuality, validQualitiesSettings } from "../../../lib/AudioQuality";

storage.desiredDownloadQuality = PlaybackContextAudioQuality.HiRes;
storage.desiredDownloadQuality ??= PlaybackContextAudioQuality.HiRes;
export const Settings = () => html`<div class="settings-section">
<h3 class="settings-header">Download Quality</h3>
<p class="settings-explainer">Select the desired max download quality:</p>
Expand Down
8 changes: 4 additions & 4 deletions plugins/TidalTags/src/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { storage } from "@plugin";
import { setStreamQualityIndicator } from "./streamQualitySelector";
import { updateTrackLists } from "./updateTrackElements";

storage.showFLACInfo = true;
storage.showFLACInfoBorder = false;
storage.showAllQualities = true;
storage.showAtmosQuality = true;
storage.showFLACInfo ??= true;
storage.showFLACInfoBorder ??= false;
storage.showAllQualities ??= true;
storage.showAtmosQuality ??= true;
export const Settings = () => {
setTimeout(() => {
const showFLACInfo = document.getElementById("showFLACInfo");
Expand Down

0 comments on commit ba66c17

Please sign in to comment.