Skip to content

Commit

Permalink
Fix team event navigation sometimes loading the wrong event data (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
bherbst authored Nov 27, 2024
1 parent 98f39f7 commit 908b9b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public void onPageScrolled(int position, float positionOffset, int positionOffse
public void updateEventsParticipated(List<Event> events) {
mEventsParticipated = ImmutableList.copyOf(events);

int requestedEventIndex = 0;
int requestedEventIndex = -1;
for (int i = 0; i < mEventsParticipated.size(); i++) {
if (mEventsParticipated.get(i).getKey().equals(mEventKey)) {
requestedEventIndex = i;
Expand Down

0 comments on commit 908b9b6

Please sign in to comment.