mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-19 09:30:08 +02:00
fix(SteamSpinner): oh apparently the class was moved outside the component for some reason??????
This commit is contained in:
@@ -5,7 +5,9 @@ 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('src')
|
||||
)
|
||||
return m[prop];
|
||||
}
|
||||
}) as FC<SVGAttributes<SVGElement>>;
|
||||
|
||||
Reference in New Issue
Block a user