fix(SteamSpinner): fix the fix

This commit is contained in:
AAGaming
2023-04-03 22:53:04 -04:00
parent f43157fde5
commit 79d229be50

View File

@@ -5,7 +5,7 @@ import { findModuleChild } from '../webpack';
export const SteamSpinner = findModuleChild((m) => {
if (typeof m !== 'object') return undefined;
for (let prop in m) {
if (m[prop]?.toString()?.includes('Steam Spinner') && m[prop]?.toString().includes('PreloadThrobber'))
if (m[prop]?.toString()?.includes('Steam Spinner') && m[prop]?.toString()?.includes('PreloadThrobber'))
return m[prop];
}
}) as FC<SVGAttributes<SVGElement>>;