mirror of https://codeberg.org/gitnex/GitNex.git
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 <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/688
This commit is contained in:
parent
7342668a1b
commit
32f3080283
|
@ -180,4 +180,4 @@
|
||||||
</arrangement>
|
</arrangement>
|
||||||
</codeStyleSettings>
|
</codeStyleSettings>
|
||||||
</code_scheme>
|
</code_scheme>
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -21,7 +21,6 @@ import androidx.appcompat.app.AlertDialog;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import org.mian.gitnex.R;
|
import org.mian.gitnex.R;
|
||||||
import org.mian.gitnex.activities.RepoDetailActivity;
|
import org.mian.gitnex.activities.RepoDetailActivity;
|
||||||
import org.mian.gitnex.activities.RepoForksActivity;
|
|
||||||
import org.mian.gitnex.activities.RepoStargazersActivity;
|
import org.mian.gitnex.activities.RepoStargazersActivity;
|
||||||
import org.mian.gitnex.activities.RepoWatchersActivity;
|
import org.mian.gitnex.activities.RepoWatchersActivity;
|
||||||
import org.mian.gitnex.clients.RetrofitClient;
|
import org.mian.gitnex.clients.RetrofitClient;
|
||||||
|
@ -184,13 +183,6 @@ public class RepoInfoFragment extends Fragment {
|
||||||
ctx.startActivity(intent);
|
ctx.startActivity(intent);
|
||||||
});
|
});
|
||||||
|
|
||||||
repoMetaForksFrame.setOnClickListener(metaForks -> {
|
|
||||||
|
|
||||||
Intent intent = new Intent(ctx, RepoForksActivity.class);
|
|
||||||
intent.putExtra("repoFullNameForForks", repoOwner + "/" + repoName);
|
|
||||||
ctx.startActivity(intent);
|
|
||||||
});
|
|
||||||
|
|
||||||
repoMetaWatchersFrame.setOnClickListener(metaWatchers -> {
|
repoMetaWatchersFrame.setOnClickListener(metaWatchers -> {
|
||||||
|
|
||||||
Intent intent = new Intent(ctx, RepoWatchersActivity.class);
|
Intent intent = new Intent(ctx, RepoWatchersActivity.class);
|
||||||
|
|
Loading…
Reference in New Issue