Skip to content

Commit

Permalink
chore(navbar): display theme toggle even when no wallet is active
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Oct 24, 2023
1 parent 98f51a3 commit 8fa2d73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ export default function Navbar() {
<span>{t('navbar.menu')}</span>
</rb.Navbar.Toggle>
</div>
{isDebugFeatureEnabled('fastThemeToggle') && (
<rb.Nav.Item className="d-none d-md-flex align-items-center pe-2">
<FastThemeToggle />
</rb.Nav.Item>
)}
<rb.Navbar.Offcanvas className={`navbar-offcanvas navbar-${settings.theme}`} placement="end">
<rb.Offcanvas.Header>
<rb.Offcanvas.Title>{t('navbar.title')}</rb.Offcanvas.Title>
Expand Down

0 comments on commit 8fa2d73

Please sign in to comment.