Skip to content

Commit

Permalink
fix(github_repository): invalidate provider when recovering from init…
Browse files Browse the repository at this point in the history
…ial error.
  • Loading branch information
trm11tkr committed Apr 11, 2024
1 parent 62f2f4b commit 23daa41
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ class PageBasedGithubRepositoryNotifier
hasMore: res.hasMore,
);
}

@override
void forceRefresh() {
ref.invalidate(listOrganizationRepositoriesProvider);
super.forceRefresh();
}
}

0 comments on commit 23daa41

Please sign in to comment.