fix(@desktop/onboarding): recover account crash fixed

This commit is contained in:
Sale Djenic 2023-01-16 16:33:12 +01:00 committed by saledjenic
parent d560b1264d
commit fa3f9a1083
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ proc loadedMessages*(self: Item): int =
return loadedMessages
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
proc totalMessages*(self: Item): int =