From d19e209ab6d2f91dce183e91af3d93e628f0bcf0 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Thu, 19 Jul 2018 14:16:04 +0200 Subject: [PATCH] fix codacy issues --- .../android/ui/adapter/NotificationListAdapter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java index 0f792765a8..8a0cd3d414 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java @@ -121,9 +121,11 @@ public class NotificationListAdapter extends RecyclerView.Adapter new ExecuteActionTask(holder).execute(action)); + button.setOnClickListener(v -> executeActionTask.execute(action)); holder.buttons.addView(button); }