mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
Merge remote-tracking branch 'refs/remotes/k0shk0sh/master'
# Conflicts: # app/src/main/java/com/fastaccess/ui/modules/editor/EditorActivity.java
This commit is contained in:
commit
68ee7f55c8
@ -179,7 +179,7 @@ class EditorPresenter extends BasePresenter<EditorMvp.View> implements EditorMvp
|
||||
CommentRequestModel requestModel = new CommentRequestModel();
|
||||
requestModel.setBody(savedText.toString());
|
||||
makeRestCall(RestProvider.getRepoService().editCommitComment(login, itemId, id, requestModel),
|
||||
comment -> sendToView(view -> view.onSendResultAndFinish(comment, true)));
|
||||
comment -> sendToView(view -> view.onSendResultAndFinish(comment, false)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -143,7 +143,7 @@ public class CommitCommentsFragments extends BaseFragment<CommitCommentsMvp.View
|
||||
.put(BundleConstant.EXTRA_THREE, getPresenter().sha())
|
||||
.put(BundleConstant.EXTRA_FOUR, item.getId())
|
||||
.put(BundleConstant.EXTRA, item.getBody())
|
||||
.put(BundleConstant.EXTRA_TYPE, BundleConstant.ExtraTYpe.EDIT_COMMIT_COMMENT_EXTRA)
|
||||
.put(BundleConstant.EXTRA_TYPE, BundleConstant.ExtraTYpe.EDIT_ISSUE_COMMENT_EXTRA)
|
||||
.end());
|
||||
View view = getActivity() != null && getActivity().findViewById(R.id.fab) != null ? getActivity().findViewById(R.id.fab) : recycler;
|
||||
ActivityHelper.startReveal(this, intent, view, BundleConstant.REQUEST_CODE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user