Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tretdm committed Nov 25, 2023
1 parent a05baae commit 5bd860b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void parse(String response, OvkAPIWrapper wrapper) {
}
if(retryConnection) {
if (ctx.getClass().getSimpleName().equals("AppActivity")) {
((AppActivity) ctx).retryConnection(queue_method, queue_args);
((AppActivity) ctx).retryConnection();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ public void onClick(View v) {
}
}

private void retryConnection() {
public void retryConnection() {
if(ovk_api.account != null) {
newsfeedFragment.setError(false, 0, null);
ovk_api.newsfeed.get(ovk_api.wrapper, 25);
Expand Down

0 comments on commit 5bd860b

Please sign in to comment.