Skip to content

Commit 74958c6

Browse files
Brion VIBBERGerrit Code Review
Brion VIBBER
authored and
Gerrit Code Review
committed
Merge "Scroll down to show some new categories when they turn up"
2 parents 5092e83 + 89d91d6 commit 74958c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commons/src/main/java/org/wikimedia/commons/CategorizationFragment.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ protected void onPostExecute(ArrayList<String> categories) {
126126
categoriesNotFoundView.setText(getString(R.string.categories_not_found, filter));
127127
categoriesNotFoundView.setVisibility(View.VISIBLE);
128128
}
129+
} else {
130+
categoriesList.smoothScrollToPosition(existingKeys.size());
129131
}
130132
}
131133

0 commit comments

Comments
 (0)