Add a developer mode to show some debug stuff
This commit is contained in:
8 files changed
+93
-20
No files matched your search
@@ -13,7 +13,8 @@ export default function GamesDownloadPopup () {
|
||||
setPopupMode,
|
||||
setShowPopup,
|
||||
setFadeOut,
|
||||
setViewingInfoFromDownloads
|
||||
setViewingInfoFromDownloads,
|
||||
developerMode
|
||||
} = useGlobal()
|
||||
|
||||
return (
|
||||
@@ -46,7 +47,10 @@ export default function GamesDownloadPopup () {
|
||||
>
|
||||
<FontAwesomeIcon icon={faInfo} /> Info
|
||||
</button>
|
||||
<p className='text-2xl text-center truncate'>{g.name}</p>
|
||||
<p className='text-2xl text-center truncate'>
|
||||
{developerMode ? <span className='text-sm'>{g.id} </span> : ''}
|
||||
{g.name}
|
||||
</p>
|
||||
<button
|
||||
className='button btntheme3'
|
||||
onClick={() => setSelectedGame(g.id)}
|
||||
|
||||
Reference in new issue
Block a user