From 09abb058cc03c75447427af687c9058e09e28c30 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 19 Apr 2019 23:27:28 +0300 Subject: [PATCH] drop dead code --- .../ui/profiles/ProfilesRecyclerViewAdapter.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java index 8ee0dd96..3a9dd41d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java @@ -157,11 +157,6 @@ public class ProfilesRecyclerViewAdapter flipEditingProfiles(); return true; }); - Data.profile.addObserver((o, arg) -> { - MobileLedgerProfile myProfile = (MobileLedgerProfile) holder.itemView.getTag(); - final MobileLedgerProfile currentProfile = Data.profile.get(); - final boolean sameProfile = currentProfile.equals(myProfile); - }); View.OnTouchListener dragStarter = (v, event) -> { if (rearrangeHelper != null && editingProfiles.get()) { -- 2.39.5