From: Damyan Ivanov Date: Fri, 19 Apr 2019 20:27:28 +0000 (+0300) Subject: drop dead code X-Git-Tag: v0.10.0~78 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=09abb058cc03c75447427af687c9058e09e28c30;p=mobile-ledger.git drop dead code --- 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()) {