From: Damyan Ivanov Date: Fri, 19 Apr 2019 20:37:10 +0000 (+0300) Subject: profile list: don't hide the collapse arrow when editting is enabled X-Git-Tag: v0.10.0~77 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=5670c4323546ab2b0d212fe4d7545a814fbd0b0f;p=mobile-ledger.git profile list: don't hide the collapse arrow when editting is enabled clicking on the 'Profiles' row still collapses the list, so the missing arrow is just confusing --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index 1509fd17..f934d4d6 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -264,8 +264,6 @@ public class MainActivity extends ProfileThemedActivity { if (editingProfilesObserver == null) { editingProfilesObserver = (o, arg) -> { if (mProfileListAdapter.isEditingProfiles()) { - profileListHeadArrow.clearAnimation(); - profileListHeadArrow.setVisibility(View.GONE); profileListHeadMore.setVisibility(View.GONE); profileListHeadMore .startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_out)); @@ -274,8 +272,6 @@ public class MainActivity extends ProfileThemedActivity { .startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_in)); } else { - profileListHeadArrow.setRotation(180f); - profileListHeadArrow.setVisibility(View.VISIBLE); profileListHeadCancel.setVisibility(View.GONE); profileListHeadCancel .startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_out));