Skip to content

Commit

Permalink
Replace onClick listener with lambda in ReaderPostListActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Jun 21, 2024
1 parent dc1e024 commit d7b39a9
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,17 +337,12 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
post,
site,
mUploadActionUseCase.getUploadAction(post),
new View.OnClickListener() {
@Override
public void onClick(View v) {
UploadUtils.publishPost(
ReaderPostListActivity.this,
post,
site,
mDispatcher
);
}
});
v -> UploadUtils.publishPost(
ReaderPostListActivity.this,
post,
site,
mDispatcher
));
}
}
break;
Expand Down

0 comments on commit d7b39a9

Please sign in to comment.