From ac782fccfb8befe8d16e2106a8d7b2f94030df6e Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Sat, 21 Dec 2024 14:25:13 -0300 Subject: [PATCH] Fix showing crossover bottle in installed info details --- .../screens/Game/GamePage/components/InstalledInfo.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx b/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx index ba3b5a6f74..fe2cba64fb 100644 --- a/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx +++ b/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx @@ -65,8 +65,7 @@ const InstalledInfo = ({ gameInfo }: Props) => { wine = wine.split('-')[0] } wineName = wine - wineType = - wineVersion.type === 'crossover' ? wineCrossoverBottle : winePrefix + wineType = wineVersion.type } const info = ( @@ -111,10 +110,10 @@ const InstalledInfo = ({ gameInfo }: Props) => {
Wine: {wineName}
- {wineVersion && wineType === 'crossover' ? ( + {wineType === 'crossover' ? (
{t2('setting.winecrossoverbottle', 'Bottle')}:{' '} -
{winePrefix}
+
{wineCrossoverBottle}
) : (