beeminder / BeeSwift

Official Beeminder for iOS app
Other
30 stars 6 forks source link

Maintain order of goals #381

Closed theospears closed 1 year ago

theospears commented 1 year ago

Switching to storing goals in a dictionary for quick lookup meant we were no longer deterministically maintaining order, leading to some shuffle when goals were refreshed. Avoid this by using an OrderedDictionary so the order from the server is maintained.

Testing: Ran in simulator. Observed pulling to refresh kept the same order

theospears commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.