docs: changes missed in last PR

pull/55/head
Allison Ryan 4 years ago
parent c0175b0d30
commit d06e85b4f1

@ -131,6 +131,7 @@ class LeaderboardRepository {
.orderBy('score')
.get();
// TODO(allisonryan0002): see if we can find a more performant solution.
final documents = querySnapshot.docs;
final ranking = documents.indexWhere(
(document) => document.id == entryReference.id,

@ -9,15 +9,12 @@ enum CharacterType {
dash,
/// Sparky character.
sparky,
/// Android character.
android,
/// Dino character.
dino,
}

Loading…
Cancel
Save