]> git.ktnx.net Git - mobile-ledger.git/commitdiff
drop dead code
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 19 Apr 2019 20:27:28 +0000 (23:27 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 19 Apr 2019 20:56:44 +0000 (23:56 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java

index 8ee0dd96c696c5a299a52cdfe38a4b034f7b3a40..3a9dd41d4e16c3d84648ee402c5e584ed1d2b32a 100644 (file)
@@ -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()) {