Fixes #231 - category translations were reverting to english.
There are two places where translations get populated. One of them (when the fragment is initialized) translates the categories. The other place (when the "installed app cache" background process completes) did not translate the category names. They are now both translated.
This commit is contained in:
parent
928d3e8c9a
commit
cdb8100819
@ -92,8 +92,8 @@ public class AvailableAppsFragment extends AppListFragment implements
|
||||
return;
|
||||
}
|
||||
adapter.clear();
|
||||
List<String> catList = AppProvider.Helper.categories(getActivity());
|
||||
ArrayAdapterCompat.addAll(adapter, catList);
|
||||
categories = AppProvider.Helper.categories(getActivity());
|
||||
ArrayAdapterCompat.addAll(adapter, translateCategories(categories));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user