mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 02:58:55 +00:00
fix(wallet): cannot recover Status profile if there is no metadata on a keycard
fixes: #16907
This commit is contained in:
parent
7152c2b409
commit
1bd54401a2
@ -269,7 +269,7 @@ proc handleKeycardSyncing[T](self: Module[T]) =
|
||||
if flowEvent.keyUid != self.controller.getKeyUidWhichIsBeingSyncing():
|
||||
self.controller.terminateCurrentFlow(lastStepInTheCurrentFlow = false)
|
||||
return
|
||||
if eventType == ResponseTypeValueKeycardFlowResult and flowEvent.error.len == 0:
|
||||
if eventType == ResponseTypeValueKeycardFlowResult and (flowEvent.error.len == 0 or flowEvent.error == ErrorNoData):
|
||||
var kpDto = KeycardDto(keycardUid: flowEvent.instanceUID,
|
||||
keycardName: flowEvent.cardMetadata.name,
|
||||
keycardLocked: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user