diff --git a/plugins/SongDownloader/src/Settings.ts b/plugins/SongDownloader/src/Settings.ts index 24e42e8a..4a40f2f9 100644 --- a/plugins/SongDownloader/src/Settings.ts +++ b/plugins/SongDownloader/src/Settings.ts @@ -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`

Download Quality

Select the desired max download quality:

diff --git a/plugins/TidalTags/src/Settings.ts b/plugins/TidalTags/src/Settings.ts index 113eeb6e..9b2c5aaa 100644 --- a/plugins/TidalTags/src/Settings.ts +++ b/plugins/TidalTags/src/Settings.ts @@ -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");