Browse Source

Fixed NPE in bookmarks fragment... ugh

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

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

@ -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

Loading…
Cancel
Save