From 889a00fc49cefa496b9be991da93a7bc44fbbe9a Mon Sep 17 00:00:00 2001 From: Trit0 Date: Sat, 12 Jul 2025 21:01:15 -0400 Subject: [PATCH] not always decompress --- frontend/src/App.vue | 4 +-- frontend/src/components/GameCard.vue | 2 +- frontend/src/components/GamePreview.vue | 13 ++++--- frontend/wailsjs/go/models.ts | 28 +++++++-------- lib/models/game.go | 16 ++++----- lib/provider/provider.go | 46 ++++++------------------- 6 files changed, 42 insertions(+), 67 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 07b4e28..9cf16b9 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -67,8 +67,8 @@ onMounted(async () => { // Create the gradient background style const backgroundStyle = computed(() => { - const primary = selectedGame?.value?.color_scheme?.primary ?? "#4d97f8"; - const secondary = selectedGame?.value?.color_scheme?.secondary ?? "#100a7d"; + const primary = selectedGame?.value?.colorScheme?.primary ?? "#4d97f8"; + const secondary = selectedGame?.value?.colorScheme?.secondary ?? "#100a7d"; const backgroundImage = `linear-gradient(135deg, ${primary}, ${secondary})`; // const backgroundImage = !!bgImage ? `url(${bgImage})` : `linear-gradient(135deg, ${primary}, ${secondary})`; diff --git a/frontend/src/components/GameCard.vue b/frontend/src/components/GameCard.vue index ba81e77..9cfe232 100644 --- a/frontend/src/components/GameCard.vue +++ b/frontend/src/components/GameCard.vue @@ -7,7 +7,7 @@ ]" >
- +

{{ game.title }}

@@ -18,7 +18,7 @@
@@ -56,8 +56,8 @@