From 63cc8322c181372f7e8ceb5e84328e859b6e3f1b Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Mon, 23 Oct 2023 20:19:18 -0300 Subject: [PATCH] [UI] Hide wine and install info for browser apps (#3153) Hide wine and install info for browser apps --- .../screens/Game/GamePage/components/InstalledInfo.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx b/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx index 5bbb29caaf..080e8ccba2 100644 --- a/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx +++ b/src/frontend/screens/Game/GamePage/components/InstalledInfo.tsx @@ -32,6 +32,15 @@ const InstalledInfo = ({ gameInfo }: Props) => { folder_name } = gameInfo + if (installPlatform === 'Browser') { + return ( +
+ {t('info.installedPlatform', 'Installed Platform')}:{' '} + {installPlatform} +
+ ) + } + let install_path: string | undefined let install_size: string | undefined let version: string | undefined