Check if layout is null

pull/645/head
Alex Baker 8 years ago
parent 990df8eb47
commit 084fb03a2d

@ -441,7 +441,7 @@ public class TaskListFragment extends InjectingFragment implements
}
public void loadTaskListContent(boolean animate) {
if (taskAdapter == null) {
if (taskAdapter == null || swipeRefreshLayout == null) {
return;
}
// stash selected items

Loading…
Cancel
Save