We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd8d6f7 commit 9a54704Copy full SHA for 9a54704
suite-common/wallet-core/src/device/deviceReducer.ts
@@ -70,7 +70,7 @@ const merge = (device: AcquiredDevice, upcoming: Partial<AcquiredDevice>): Trezo
70
71
const getShouldUseEmptyPassphrase = (device: Device, deviceInstance?: number): boolean => {
72
if (!device.features) return false;
73
- if (isNative() && typeof deviceInstance === 'number' && deviceInstance === 1) {
+ if (isNative() && (!deviceInstance || deviceInstance === 1)) {
74
// On mobile, if device has instance === 1, we always want to use empty passphrase since we
75
// connect & authorize standard wallet by default. Other instances will have `usePassphraseProtection` set same way as web/desktop app.
76
return true;
0 commit comments