mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Fix memory leak in CategoryDetailsActivity (#1792)
This commit is contained in:
parent
33995764ff
commit
b9274c0335
1 changed files with 1 additions and 4 deletions
|
|
@ -263,10 +263,7 @@ public class CategoryImagesListFragment extends DaggerFragment {
|
|||
* @return GridView Adapter
|
||||
*/
|
||||
public ListAdapter getAdapter() {
|
||||
if(gridView == null) {
|
||||
return null;
|
||||
}
|
||||
return gridView.getAdapter();
|
||||
return gridAdapter;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue