mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Set default value of enable3DEffect to false if not specified in localStorage
This commit is contained in:
@@ -89,7 +89,7 @@ const actionBarRef = ref(
|
||||
);
|
||||
const stored3DEffect = localStorage.getItem("settings.enable3DEffect");
|
||||
const enable3DEffectRef = ref(
|
||||
isNull(stored3DEffect) ? true : stored3DEffect === "true",
|
||||
isNull(stored3DEffect) ? false : stored3DEffect === "true",
|
||||
);
|
||||
|
||||
const homeOptions = computed(() => [
|
||||
|
||||
Reference in New Issue
Block a user