diff --git a/MessengerProj/build.gradle b/MessengerProj/build.gradle index c07be8c98..0ae14832e 100644 --- a/MessengerProj/build.gradle +++ b/MessengerProj/build.gradle @@ -129,7 +129,7 @@ android { defaultConfig { minSdkVersion 14 // 14: Android 4.0 Ice Cream Sandwich 2011 (Telegram default), 21: Android 5.0 Lollipop 2014 (recommended for InstantRun) targetSdkVersion 23 - versionName "0.1.5" + versionName "0.1.6" } } diff --git a/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java b/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java index 466a0c052..92f9eb126 100644 --- a/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java +++ b/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java @@ -89,9 +89,11 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. private AlertDialog permissionDialog; // Floating hiding action + /* private int prevPosition; private int prevTop; private boolean scrollUpdated; + */ // /Floating hiding action private boolean floatingHidden; @@ -491,7 +493,8 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. return; } - // Floating hiding action - I'm not sure if it is really useful. + // Floating hiding action - I'm not sure if it is really useful. If there is nothing to scroll the floting button cannot does not move away - and covers always a part of the last row. This is not better than without moving away. + /* if (floatingButton.getVisibility() != View.GONE) { final View topChild = recyclerView.getChildAt(0); int firstViewTop = 0; @@ -514,6 +517,7 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. prevTop = firstViewTop; scrollUpdated = true; } + */ // /Floating hiding action } });