mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Fixed again
This commit is contained in:
parent
1344824b4a
commit
f26a60f1ba
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ public class LibraryFragment extends BaseRxFragment<LibraryPresenter>
|
||||||
}
|
}
|
||||||
// Restore active category
|
// Restore active category
|
||||||
viewPager.setCurrentItem(activeCat, false);
|
viewPager.setCurrentItem(activeCat, false);
|
||||||
|
if (tabs.getTabCount() > 0) {
|
||||||
|
TabLayout.Tab tab = tabs.getTabAt(viewPager.getCurrentItem());
|
||||||
|
if (tab != null) tab.select();
|
||||||
|
}
|
||||||
|
|
||||||
// Send the mangas to child fragments after the adapter is updated
|
// Send the mangas to child fragments after the adapter is updated
|
||||||
EventBus.getDefault().postSticky(new LibraryMangasEvent(mangas));
|
EventBus.getDefault().postSticky(new LibraryMangasEvent(mangas));
|
||||||
|
|
Loading…
Reference in a new issue