@@ -12,7 +12,8 @@ import {
12
12
selectDeviceReleaseInfo ,
13
13
selectDeviceState ,
14
14
selectDeviceUpdateFirmwareVersion ,
15
- selectIsDeviceConnectedAndAuthorized ,
15
+ selectIsDeviceBackedUp ,
16
+ selectIsDeviceConnected ,
16
17
selectIsDiscoveryActiveByDeviceState ,
17
18
selectIsPortfolioTrackerDevice ,
18
19
} from '@suite-common/wallet-core' ;
@@ -56,7 +57,8 @@ export const FirmwareUpdateAlert = () => {
56
57
const deviceReleaseInfo = useSelector ( selectDeviceReleaseInfo ) ;
57
58
const isPortfolioTrackerDevice = useSelector ( selectIsPortfolioTrackerDevice ) ;
58
59
const deviceId = useSelector ( selectDeviceId ) ;
59
- const isConnected = useSelector ( selectIsDeviceConnectedAndAuthorized ) ;
60
+ const isConnected = useSelector ( selectIsDeviceConnected ) ;
61
+ const isDeviceBackedUp = useSelector ( selectIsDeviceBackedUp ) ;
60
62
const deviceState = useSelector ( selectDeviceState ) ;
61
63
const isDiscoveryRunning = useSelector ( ( state : DiscoveryRootState & DeviceRootState ) =>
62
64
selectIsDiscoveryActiveByDeviceState ( state , deviceState ) ,
@@ -101,6 +103,7 @@ export const FirmwareUpdateAlert = () => {
101
103
isPortfolioTrackerDevice ||
102
104
isDiscoveryRunning ||
103
105
! isConnected ||
106
+ ! isDeviceBackedUp ||
104
107
isClosed
105
108
) {
106
109
return null ;
0 commit comments