Skip to content

Commit

Permalink
Ensure we always initialize stored sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Oct 28, 2024
1 parent 57733cf commit c1fe181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LiftLog.Ui/Services/ProgressRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ await keyValueStore.GetItemAsync(StorageKey) ?? "null",
};
var deserialiseTime = sw.ElapsedMilliseconds;
sw.Restart();
_storedSessions = ImmutableDictionary<Guid, Session>.Empty;
if (storedData is not null)
{
_storedSessions = storedData.CompletedSessions;
Expand Down

0 comments on commit c1fe181

Please sign in to comment.