forked from Berry-Dash/launcher
Bad code is indeed bad it took a long time to fix
This commit is contained in:
@@ -492,21 +492,7 @@ export default function RootLayout ({
|
|||||||
{v.versionName}
|
{v.versionName}
|
||||||
</p>
|
</p>
|
||||||
<button
|
<button
|
||||||
className={`button right-${
|
className='button right-22 bottom-1.5'
|
||||||
selectedVersionList.includes(v.id)
|
|
||||||
? '30'
|
|
||||||
: '23'
|
|
||||||
} bottom-2`}
|
|
||||||
onClick={() => {
|
|
||||||
setManagingVersion(v.id)
|
|
||||||
setViewingInfoFromDownloads(true)
|
|
||||||
setPopupMode(3)
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<FontAwesomeIcon icon={faInfo} /> Info
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
className='button right-2 bottom-2'
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSelectedVersionList(prev =>
|
setSelectedVersionList(prev =>
|
||||||
prev.includes(v.id)
|
prev.includes(v.id)
|
||||||
@@ -526,6 +512,16 @@ export default function RootLayout ({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
className='button right-1.5 bottom-1.5'
|
||||||
|
onClick={() => {
|
||||||
|
setManagingVersion(v.id)
|
||||||
|
setViewingInfoFromDownloads(true)
|
||||||
|
setPopupMode(3)
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<FontAwesomeIcon icon={faInfo} /> Info
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user