Merge pull request #1417 from rommapp/default-grid-view-false

Default grid view for recently and continue playing to false
This commit is contained in:
Georges-Antoine Assi
2025-01-04 19:22:33 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ const { continuePlayingRoms } = storeToRefs(romsStore);
const gridContinuePlayingRoms = isNull(
localStorage.getItem("settings.gridContinuePlayingRoms"),
)
? true
? false
: localStorage.getItem("settings.gridContinuePlayingRoms") === "true";
</script>
<template>

View File

@@ -12,7 +12,7 @@ const { t } = useI18n();
const romsStore = storeRoms();
const { recentRoms } = storeToRefs(romsStore);
const gridRecentRoms = isNull(localStorage.getItem("settings.gridRecentRoms"))
? true
? false
: localStorage.getItem("settings.gridRecentRoms") === "true";
</script>
<template>

View File

@@ -14,7 +14,7 @@ const showRecentRomsRef = ref(
);
const storedGridRecentRoms = localStorage.getItem("settings.gridRecentRoms");
const gridRecentRomsRef = ref(
isNull(storedGridRecentRoms) ? true : storedGridRecentRoms === "true",
isNull(storedGridRecentRoms) ? false : storedGridRecentRoms === "true",
);
const storedShowContinuePlaying = localStorage.getItem(
"settings.showContinuePlaying",
@@ -29,7 +29,7 @@ const storedGridContinuePlaying = localStorage.getItem(
);
const gridContinuePlayingRef = ref(
isNull(storedGridContinuePlaying)
? true
? false
: storedGridContinuePlaying === "true",
);
const storedShowPlatforms = localStorage.getItem("settings.showPlatforms");