fix loading spinner for bookmarks and continue watching

This commit is contained in:
Felix 2017-11-20 00:45:44 +01:00
parent ceba0ae9d2
commit e3141ddd0c

View file

@ -100,9 +100,11 @@ public class EventsListFragment extends BrowseFragment implements SearchView.OnQ
if (conferenceId == BOOKMARKS_LIST_ID) {
listener.setToolbarTitle(resources.getString(R.string.bookmarks));
getViewModel().getBookmarkedEvents().observe(this, listObserver);
setLoadingOverlayVisibility(false);
} else if (conferenceId == IN_PROGRESS_LIST_ID) {
listener.setToolbarTitle(resources.getString(R.string.continue_watching));
getViewModel().getInProgressEvents().observe(this, listObserver);
setLoadingOverlayVisibility(false);
} else {
{
getViewModel().getConference(conferenceId).observe(this, conference -> {