mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-12-28 14:39:00 +00:00
Remove useless variable declaration.
This commit is contained in:
parent
679cfaa208
commit
180e41a5c3
@ -76,9 +76,6 @@ class CommentsAdapter extends ArrayAdapter<Comment> {
|
||||
private static View fillView(final Context context, final View view, final Comment comment,
|
||||
@Nullable UserInfo user, final PostsAdapter.onPostUpdate listener) {
|
||||
|
||||
//Check whether the current user is the owner of the comment or not
|
||||
final boolean isOwner = AccountUtils.getID(context) == comment.getUserID();
|
||||
|
||||
//Update user name and account image
|
||||
ImageView accountImage = view.findViewById(R.id.user_account_image);
|
||||
TextView accountName = view.findViewById(R.id.user_account_name);
|
||||
|
Loading…
Reference in New Issue
Block a user