fix(@desktop/onboarding): recover account crash fixed
This commit is contained in:
parent
d560b1264d
commit
fa3f9a1083
|
@ -28,7 +28,7 @@ proc loadedMessages*(self: Item): int =
|
||||||
return loadedMessages
|
return loadedMessages
|
||||||
|
|
||||||
proc receivedMessageAtPosition*(self: Item, position: int) =
|
proc receivedMessageAtPosition*(self: Item, position: int) =
|
||||||
if position >= 1 or position <= self.totalMessages:
|
if position >= 1 and position <= self.totalMessages:
|
||||||
self.trackOfLoadedMessages[position-1] = true
|
self.trackOfLoadedMessages[position-1] = true
|
||||||
|
|
||||||
proc totalMessages*(self: Item): int =
|
proc totalMessages*(self: Item): int =
|
||||||
|
|
Loading…
Reference in New Issue