Skip to content

Commit 8d491a3

Browse files
authored
[GOG] trim titles for games (#3549)
trim titles for GOG games
1 parent 2114eb1 commit 8d491a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storeManagers/gog/library.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ export async function gogToUnifiedInfo(
970970
is_installed: false,
971971
namespace: galaxyProductInfo?.slug,
972972
save_folder: '',
973-
title: galaxyProductInfo?.title ?? info.game.title['en-US'] ?? '',
973+
title: (galaxyProductInfo?.title ?? info.game.title['en-US'] ?? '').trim(),
974974
canRunOffline: true,
975975
is_mac_native: Boolean(
976976
info.supported_operating_systems.find((os) => os.slug === 'osx')

0 commit comments

Comments
 (0)