SuchABot has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/74306


Change subject: Scroll down to show some new categories when they turn up
......................................................................

Scroll down to show some new categories when they turn up

Change-Id: I91431721ba504a27c9d902bcf0a2f21fa3b9d938
GitHub: https://github.com/wikimedia/apps-android-commons/pull/32
---
M commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/commons 
refs/changes/06/74306/1

diff --git 
a/commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java 
b/commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java
index 8b90e68..76887f4 100644
--- a/commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java
+++ b/commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java
@@ -126,6 +126,8 @@
                     
categoriesNotFoundView.setText(getString(R.string.categories_not_found, 
filter));
                     categoriesNotFoundView.setVisibility(View.VISIBLE);
                 }
+            } else {
+                categoriesList.smoothScrollToPosition(existingKeys.size());
             }
         }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/74306
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I91431721ba504a27c9d902bcf0a2f21fa3b9d938
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/commons
Gerrit-Branch: master
Gerrit-Owner: SuchABot <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to