Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 2b3232a

Browse files
committed
Fix loading every second account information isntead of every first
1 parent 2d59b35 commit 2b3232a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Accounts.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ public class Olifant.Accounts : Object {
9090
info ("Reloading instances info");
9191
instance_data = new GenericArray<API.Instance?> ();
9292
for (var curId = 0; curId < saved_accounts.length; curId++) {
93-
// Kind of a dirty hack, if no value added, but if array size
93+
// Kind of a dirty hack, if no value added, but if array size
9494
// specified in constructor, value gets deconstructed as long
9595
// as it leaves load_single_instance function
9696
instance_data.add (null);
97-
load_single_instance.begin (curId++);
97+
load_single_instance.begin (curId);
9898
}
9999
}
100100

0 commit comments

Comments
 (0)