use of com.github.pockethub.android.ui.ref.RefDialog in project PocketHub by pockethub.
the class CommitListFragment method switchRefs.
private void switchRefs() {
if (ref == null) {
return;
}
if (dialog == null) {
dialog = new RefDialog((BaseActivity) getActivity(), REF_UPDATE, repository);
}
GitReference reference = GitReference.builder().ref(ref).build();
dialog.show(reference);
}
Aggregations