From 5bd860b8b5303e9509af2ec5063ae519eeb72337 Mon Sep 17 00:00:00 2001 From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com> Date: Sat, 25 Nov 2023 17:36:40 +0700 Subject: [PATCH] Fix --- .../java/uk/openvk/android/refresh/api/entities/Account.java | 2 +- .../openvk/android/refresh/ui/core/activities/AppActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/uk/openvk/android/refresh/api/entities/Account.java b/app/src/main/java/uk/openvk/android/refresh/api/entities/Account.java index 7d63a8d..3665c84 100644 --- a/app/src/main/java/uk/openvk/android/refresh/api/entities/Account.java +++ b/app/src/main/java/uk/openvk/android/refresh/api/entities/Account.java @@ -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(); } } } diff --git a/app/src/main/java/uk/openvk/android/refresh/ui/core/activities/AppActivity.java b/app/src/main/java/uk/openvk/android/refresh/ui/core/activities/AppActivity.java index 2c8cf77..dab62c8 100644 --- a/app/src/main/java/uk/openvk/android/refresh/ui/core/activities/AppActivity.java +++ b/app/src/main/java/uk/openvk/android/refresh/ui/core/activities/AppActivity.java @@ -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);