mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 20:51:57 +00:00
Fix: actually force the cog icon to stay inline
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { ConfirmModal, ModalRoot, Patch, QuickAccessTab, Router, showModal, sleep } from 'decky-frontend-lib';
|
import { ConfirmModal, ModalRoot, Patch, QuickAccessTab, Router, showModal, sleep } from 'decky-frontend-lib';
|
||||||
import { FC, lazy } from 'react';
|
import { FC, lazy } from 'react';
|
||||||
import { Trans, Translation } from 'react-i18next';
|
import { Trans, Translation } from 'react-i18next';
|
||||||
|
import { IconContext } from 'react-icons';
|
||||||
import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa';
|
import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa';
|
||||||
|
|
||||||
import { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState';
|
import { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState';
|
||||||
@@ -265,12 +266,11 @@ class PluginLoader extends Logger {
|
|||||||
<pre>
|
<pre>
|
||||||
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
||||||
</pre>
|
</pre>
|
||||||
<>
|
<IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}>
|
||||||
<Trans
|
<div>
|
||||||
i18nKey="PluginLoader.plugin_error_uninstall"
|
<Trans i18nKey="PluginLoader.plugin_error_uninstall" components={[<FaCog />]} />
|
||||||
components={[<FaCog style={{ display: 'inline' }} />]}
|
</div>
|
||||||
/>
|
</IconContext.Provider>
|
||||||
</>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user