File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
WordPress/src/main/java/org/wordpress/android/ui/reader Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -1948,8 +1948,9 @@ private void showBookmarksSavedLocallyDialog(ShowBookmarkedSavedOnlyLocallyDialo
19481948 private final ReaderInterfaces .DataLoadedListener mDataLoadedListener = new ReaderInterfaces .DataLoadedListener () {
19491949 @ Override
19501950 public void onDataLoaded (boolean isEmpty ) {
1951- if (!isAdded () || !mHasUpdatedPosts ) return ;
1952-
1951+ if (!isAdded () || !mHasUpdatedPosts ) {
1952+ return ;
1953+ }
19531954 if (isEmpty ) {
19541955 if (getPostListType () != ReaderPostListType .SEARCH_RESULTS
19551956 || getSearchTabsPosition () == TAB_SITES && getSiteSearchAdapter ().isEmpty ()
@@ -1974,21 +1975,6 @@ public void onDataLoaded(boolean isEmpty) {
19741975 }
19751976 };
19761977
1977- // private void fetchInitialData() {
1978- // if (getPostListType() == ReaderPostListType.TAG_FOLLOWED) {
1979- // reloadTags();
1980- //
1981- // // update the current tag if the list fragment is empty - this will happen if
1982- // // the tag table was previously empty (ie: first run)
1983- // if (isPostAdapterEmpty()) {
1984- // updateCurrentTag();
1985- // }
1986- // }
1987- //
1988- // if (mReaderViewModel != null) mReaderViewModel.loadTabs();
1989- // if (mSubFilterViewModel != null) mSubFilterViewModel.loadSubFilters();
1990- // }
1991-
19921978 private boolean isBookmarksList () {
19931979 return getPostListType () == ReaderPostListType .TAG_FOLLOWED
19941980 && (mCurrentTag != null && mCurrentTag .isBookmarked ());
You can’t perform that action at this time.
0 commit comments