From f285d47a0b30adfd2f6e59097b6ecd912112f0d0 Mon Sep 17 00:00:00 2001 From: 6543 <6543@noreply.codeberg.org> Date: Fri, 26 Jun 2020 17:09:18 +0200 Subject: [PATCH] Fix Crash on closed PRs with deleted Fork (#559) Fix edge-case DeletedFork of a Pull-Branch Co-authored-by: 6543 <6543@obermui.de> Reviewed-by: M M Arif --- .../org/mian/gitnex/adapters/PullRequestsAdapter.java | 11 +++++++++-- app/src/main/res/values/strings.xml | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mian/gitnex/adapters/PullRequestsAdapter.java b/app/src/main/java/org/mian/gitnex/adapters/PullRequestsAdapter.java index 60a2c9fb..aa760c2d 100644 --- a/app/src/main/java/org/mian/gitnex/adapters/PullRequestsAdapter.java +++ b/app/src/main/java/org/mian/gitnex/adapters/PullRequestsAdapter.java @@ -190,8 +190,15 @@ public class PullRequestsAdapter extends RecyclerView.AdapterInstance has returned an error - Unauthorized. Check your credentials and try again Please enter the correct token + Deleted Fork No pull requests found Creator :\u0020 Edit Pull Request