mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 22:39:18 +01:00
Fixed again
This commit is contained in:
parent
1344824b4a
commit
f26a60f1ba
@ -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 New Issue
Block a user