Browse Source

Fixed NPE in bookmarks fragment... ugh

master
Anthony Restaino 9 years ago
parent
commit
0ab302775c
  1. 4
      app/src/main/java/acr/browser/lightning/fragment/BookmarksFragment.java

4
app/src/main/java/acr/browser/lightning/fragment/BookmarksFragment.java

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

Loading…
Cancel
Save