Skip to content

Commit 63286f4

Browse files
committed
Merge branch 'frontend-hide-btn-menu-on-new-firmware-install'
2 parents 2b279bb + 54e3fa9 commit 63286f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontends/web/src/app.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export const App = () => {
171171
const deviceIDs: string[] = Object.keys(devices);
172172
const activeAccounts = accounts.filter(acct => acct.active);
173173

174-
const showBottomNavigation = deviceIDs.length > 0 || activeAccounts.length > 0;
174+
const isBitboxBootloader = devices[deviceIDs[0]] === 'bitbox02-bootloader';
175+
const showBottomNavigation = (deviceIDs.length > 0 || activeAccounts.length > 0) && !isBitboxBootloader;
175176

176177
return (
177178
<ConnectedApp>

0 commit comments

Comments
 (0)