diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-04-27 11:37:22 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-04-27 11:37:22 +0300 |
commit | 3525b0a023843bafec460fbc3fb8cfa410e684b6 (patch) | |
tree | b4e38d598c817281a6a8599a88fbea7bc29babf8 /app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java | |
parent | 7604ef5d583dba353d10de068a78df4206f2fed2 (diff) |
Fix attachment handling
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java index e9092ee68..f9b8a46de 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/CardAdapter.java @@ -47,10 +47,6 @@ import it.niedermann.nextcloud.deck.util.ViewUtil; public class CardAdapter extends RecyclerView.Adapter<ItemCardViewHolder> implements DragAndDropAdapter<FullCard>, Branded { - public static final String BUNDLE_KEY_ACCOUNT = "account"; - public static final String BUNDLE_KEY_LOCAL_ID = "localId"; - public static final Long NO_LOCAL_ID = -1L; - protected final SyncManager syncManager; private final Account account; @@ -109,7 +105,7 @@ public class CardAdapter extends RecyclerView.Adapter<ItemCardViewHolder> implem viewHolder.binding.card.setOnClickListener((v) -> { if (selectCardListener == null) { - context.startActivity(EditActivity.createNewCardIntent(context, account, boardId, card.getCard().getStackId(), card.getLocalId())); + context.startActivity(EditActivity.createEditCardIntent(context, account, boardId, card.getLocalId())); } else { selectCardListener.onCardSelected(card); } |