1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-11 16:41:06 +00:00

Fix issue when "DeviceMenu" couldn't be closed when device was in a bootloader mode

This commit is contained in:
Vasek Mlejnsky 2018-09-21 08:39:31 +02:00
parent b8d69ca0f5
commit e2b6fae98e

View File

@ -93,6 +93,10 @@ class LeftNavigation extends Component {
shouldRenderDeviceSelection: false,
animationType: 'slide-right',
});
} else if (selectedDevice.features.bootloader_mode) {
this.setState({
shouldRenderDeviceSelection: false,
});
}
}