From 32f30802832d09688147084acc508c8212774eb7 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 13 Sep 2020 06:37:10 +0200 Subject: [PATCH] Fix fragments when view forks from repo info (#688) Temp fix fragments forks Merge branch 'master' of codeberg.org:gitnex/GitNex into master Merge branch 'master' of codeberg.org:gitnex/GitNex into master endline Co-authored-by: M M Arif Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/688 --- .idea/codeStyles/Project.xml | 2 +- .../java/org/mian/gitnex/fragments/RepoInfoFragment.java | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 40c66e59..78aa8157 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -180,4 +180,4 @@ - \ No newline at end of file + diff --git a/app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java b/app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java index c6d866b9..d978200f 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java @@ -21,7 +21,6 @@ import androidx.appcompat.app.AlertDialog; import androidx.fragment.app.Fragment; import org.mian.gitnex.R; import org.mian.gitnex.activities.RepoDetailActivity; -import org.mian.gitnex.activities.RepoForksActivity; import org.mian.gitnex.activities.RepoStargazersActivity; import org.mian.gitnex.activities.RepoWatchersActivity; import org.mian.gitnex.clients.RetrofitClient; @@ -184,13 +183,6 @@ public class RepoInfoFragment extends Fragment { ctx.startActivity(intent); }); - repoMetaForksFrame.setOnClickListener(metaForks -> { - - Intent intent = new Intent(ctx, RepoForksActivity.class); - intent.putExtra("repoFullNameForForks", repoOwner + "/" + repoName); - ctx.startActivity(intent); - }); - repoMetaWatchersFrame.setOnClickListener(metaWatchers -> { Intent intent = new Intent(ctx, RepoWatchersActivity.class);