mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
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…
x
Reference in New Issue
Block a user