Skip to content

Commit 54e3fa9

Browse files
committed
frontend: hide bottom menu on initial firmware install
1 parent 2b279bb commit 54e3fa9

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)