fix: restore PWA install button visibility

This commit is contained in:
Your Name 2026-01-19 09:30:34 +00:00
parent 91dd114544
commit fa345f23fd
1 changed files with 7 additions and 9 deletions

View File

@ -543,16 +543,14 @@ export default function TopBarNew({ theme = "dark", onChangeTheme, onIslandsClic
onClick={() => authenticated && onUserIsland?.(username)} onClick={() => authenticated && onUserIsland?.(username)}
/> />
{/* PWA Install - hide on very small screens */} {/* PWA Install */}
{showInstallBtn && ( {showInstallBtn && (
<div className="hidden xs:block">
<ActionButton <ActionButton
icon="fa-solid fa-download" icon="fa-solid fa-download"
color="purple" color="purple"
onClick={() => promptInstall()} onClick={() => promptInstall()}
title={t('topbar.installApp')} title={t('topbar.installApp')}
/> />
</div>
)} )}
{/* Theme - mobile only */} {/* Theme - mobile only */}