Fixed NPE in bookmarks fragment... ugh

This commit is contained in:
Anthony Restaino 2016-02-12 17:31:56 -05:00
parent fd5c26cc52
commit 0ab302775c

View File

@ -141,8 +141,10 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@Override @Override
public void onResume() { public void onResume() {
super.onResume(); super.onResume();
if (mBookmarkAdapter != null) {
setBookmarkDataSet(mBookmarkManager.getBookmarksFromFolder(null, true), false); setBookmarkDataSet(mBookmarkManager.getBookmarksFromFolder(null, true), false);
} }
}
@Nullable @Nullable
@Override @Override