diff options
author | Stefan Niedermann <info@niedermann.it> | 2021-05-14 14:40:37 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2021-05-14 14:40:37 +0300 |
commit | ee615512a3b442abe1389fc5941bfa2aec750dbe (patch) | |
tree | ff4404ef4d48624fa8ff8d6475f3b75c8b40a943 | |
parent | d8dd5483bbb9d03b5d2974b175d780ef656d4ada (diff) |
Remove unused variable
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/main/menu/MenuAdapter.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/main/menu/MenuAdapter.java b/app/src/main/java/it/niedermann/owncloud/notes/main/menu/MenuAdapter.java index 31326b05..137c6198 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/main/menu/MenuAdapter.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/main/menu/MenuAdapter.java @@ -7,7 +7,6 @@ import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.annotation.NonNull; -import androidx.core.content.ContextCompat; import androidx.core.util.Consumer; import androidx.recyclerview.widget.RecyclerView; @@ -26,11 +25,8 @@ public class MenuAdapter extends RecyclerView.Adapter<MenuViewHolder> { private final MenuItem[] menuItems; @NonNull private final Consumer<MenuItem> onClick; - @NonNull - private final Context context; public MenuAdapter(@NonNull Context context, @NonNull Account account, @NonNull Consumer<MenuItem> onClick) { - this.context = context; this.menuItems = new MenuItem[]{ new MenuItem(new Intent(context, FormattingHelpActivity.class), R.string.action_formatting_help, R.drawable.ic_baseline_help_outline_24), new MenuItem(generateTrashbinIntent(account), R.string.action_trashbin, R.drawable.ic_delete_grey600_24dp), |