Ivan Iskandar 01dbe7f850 MainActivity fixes (#6591)
* Reduce notifyDataSetChanged calls when category count is disabled

* Fix category tabs briefly showing when it's supposed to be disabled

Also fix tabs showing when activity recreated

* Lift appbar when tab is hidden

Check against tab visibility instead of viewpager

* Restore selected nav item after recreate

* Simplify SHORTCUT_MANGA intent handling

Don't need to change controller if the topmost controller is the target

(cherry picked from commit 2932ed670f5760eba28aea80f1dd29e7a9af48c7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2022-02-12 12:02:06 -05:00
..
2022-02-12 12:02:06 -05:00
2020-04-29 17:56:05 -04:00
2022-02-12 11:56:04 -05:00
2021-05-22 16:07:11 -04:00
2022-01-09 15:40:05 -05:00
2021-05-31 23:48:06 -04:00