File tree 1 file changed +3
-1
lines changed
app/src/main/java/fr/free/nrw/commons/category
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ public static interface OnCategoriesSaveHandler {
76
76
77
77
protected HashMap <String , ArrayList <String >> categoriesCache ;
78
78
79
+ private ArrayList <String > selectedCategories = new ArrayList <String >();
80
+
79
81
// LHS guarantees ordered insertions, allowing for prioritized method A results
80
82
private final Set <String > results = new LinkedHashSet <String >();
81
83
PrefixUpdater prefixUpdaterSub ;
@@ -584,7 +586,7 @@ public void onSaveInstanceState(Bundle outState) {
584
586
public boolean onOptionsItemSelected (MenuItem menuItem ) {
585
587
switch (menuItem .getItemId ()) {
586
588
case R .id .menu_save_categories :
587
- final ArrayList < String > selectedCategories = new ArrayList < String >();
589
+
588
590
int numberSelected = 0 ;
589
591
590
592
for (CategoryItem item : categoriesAdapter .getItems ()) {
You can’t perform that action at this time.
0 commit comments